Class HasFreeSpace
java.lang.Object
org.apache.tools.ant.taskdefs.condition.HasFreeSpace
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleaneval()Evaluate the condition.The amount of free space requiredThe partition/device to checkvoidSet the amount of space required.voidsetPartition(String partition) Set the partition name.
- 
Constructor Details- 
HasFreeSpacepublic HasFreeSpace()
 
- 
- 
Method Details- 
evalEvaluate the condition.- Specified by:
- evalin interface- Condition
- Returns:
- true if there enough free space.
- Throws:
- BuildException- if there is a problem.
 
- 
getPartition
- 
setPartitionSet the partition name.- Parameters:
- partition- the name to use.
 
- 
getNeeded
- 
setNeededSet the amount of space required.- Parameters:
- needed- the amount required.
 
 
-