Constructor | Description |
---|---|
HasFreeSpace() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
eval() |
Evaluate the condition.
|
java.lang.String |
getNeeded() |
The amount of free space required
|
java.lang.String |
getPartition() |
The partition/device to check
|
void |
setNeeded(java.lang.String needed) |
Set the amount of space required.
|
void |
setPartition(java.lang.String partition) |
Set the partition name.
|
public boolean eval() throws BuildException
eval
in interface Condition
BuildException
- if there is a problem.public java.lang.String getPartition()
public void setPartition(java.lang.String partition)
partition
- the name to use.public java.lang.String getNeeded()
public void setNeeded(java.lang.String needed)
needed
- the amount required.