| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.taskdefs.condition.HasFreeSpace
public class HasFreeSpace
<hasfreespace>
Condition returns true if selected partition has the requested space, false otherwise.
| Constructor Summary | |
|---|---|
| HasFreeSpace() | |
| Method Summary | |
|---|---|
|  boolean | eval()Evaluate the condition. | 
|  java.lang.String | getNeeded()The amount of free space required | 
|  java.lang.String | getPartition()The partition/device to check | 
|  void | setNeeded(java.lang.String needed)Set the amount of space required. | 
|  void | setPartition(java.lang.String partition)Set the partition name. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public HasFreeSpace()
| Method Detail | 
|---|
public boolean eval()
             throws BuildException
eval in interface ConditionBuildException - if there is a problem.public java.lang.String getPartition()
public void setPartition(java.lang.String partition)
partition - the name to use.public java.lang.String getNeeded()
public void setNeeded(java.lang.String needed)
needed - the amount required.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||