org.apache.tools.ant.taskdefs.condition
public class HasFreeSpace extends Object implements Condition
Condition returns true if selected partition has the requested space, false otherwise.
Since: Ant 1.7
| Method Summary | |
|---|---|
| boolean | eval() |
| String | getNeeded()
The amount of free space required |
| String | getPartition()
The partition/device to check |
| void | setNeeded(String needed) |
| void | setPartition(String partition) |
Returns: the amount required
Returns: