org.apache.tools.ant.taskdefs.condition
Class HasFreeSpace
java.lang.Objectorg.apache.tools.ant.taskdefs.condition.HasFreeSpace
- Condition
public class HasFreeSpace
extends java.lang.Object
<hasfreespace>
Condition returns true if selected partition
has the requested space, false otherwise.
boolean | eval()- Evaluate the condition.
|
String | getNeeded()- The amount of free space required
|
String | getPartition()- The partition/device to check
|
void | setNeeded(String needed)- Set the amount of space required.
|
void | setPartition(String partition)- Set the partition name.
|
getNeeded
public String getNeeded()
The amount of free space required
getPartition
public String getPartition()
The partition/device to check
setNeeded
public void setNeeded(String needed)
Set the amount of space required.
needed - the amount required.
setPartition
public void setPartition(String partition)
Set the partition name.
partition - the name to use.