|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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()
Is this condition true? |
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)
|
void |
setPartition(java.lang.String partition)
|
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
Condition
eval
in interface Condition
BuildException
- if an error occurspublic java.lang.String getPartition()
public void setPartition(java.lang.String partition)
public java.lang.String getNeeded()
public void setNeeded(java.lang.String needed)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |