Class HasFreeSpace
- java.lang.Object
- 
- org.apache.tools.ant.taskdefs.condition.HasFreeSpace
 
- 
- 
Constructor SummaryConstructors Constructor Description HasFreeSpace()
 - 
Method SummaryModifier and Type Method Description booleaneval()Evaluate the condition.java.lang.StringgetNeeded()The amount of free space requiredjava.lang.StringgetPartition()The partition/device to checkvoidsetNeeded(java.lang.String needed)Set the amount of space required.voidsetPartition(java.lang.String partition)Set the partition name.
 
- 
- 
- 
Method Detail- 
evalpublic boolean eval() throws BuildExceptionEvaluate the condition.- Specified by:
- evalin interface- Condition
- Returns:
- true if there enough free space.
- Throws:
- BuildException- if there is a problem.
 
 - 
getPartitionpublic java.lang.String getPartition() The partition/device to check- Returns:
- the partition.
 
 - 
setPartitionpublic void setPartition(java.lang.String partition) Set the partition name.- Parameters:
- partition- the name to use.
 
 - 
getNeededpublic java.lang.String getNeeded() The amount of free space required- Returns:
- the amount required
 
 - 
setNeededpublic void setNeeded(java.lang.String needed) Set the amount of space required.- Parameters:
- needed- the amount required.
 
 
- 
 
-