Condition returns true if selected partition has the requested space, false otherwise.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if there enough free space.Implements org. |
| public String | |
| public String | |
| public void | |
| public void | |
| private void |
| needed | back to summary |
|---|---|
| private String needed | |
| partition | back to summary |
|---|---|
| private String partition | |
| HasFreeSpace | back to summary |
|---|---|
| public HasFreeSpace() | |
| eval | back to summary |
|---|---|
| public boolean eval() throws BuildException Implements org. Evaluate the condition.
| |
| getNeeded | back to summary |
|---|---|
| public String getNeeded() The amount of free space required
| |
| getPartition | back to summary |
|---|---|
| public String getPartition() The partition/device to check
| |
| setNeeded | back to summary |
|---|---|
| public void setNeeded(String needed) Set the amount of space required.
| |
| setPartition | back to summary |
|---|---|
| public void setPartition(String partition) Set the partition name.
| |
| validate | back to summary |
|---|---|
| private void validate() throws BuildException | |