org.apache.tools.ant.taskdefs.condition
Class AntVersion
- Cloneable, Condition
An Ant version condition.
boolean | eval()- Evalute the condition.
|
void | execute()- Run as a task.
|
String | getAtLeast()- Get the atleast attribute.
|
String | getExactly()- Get the exactly attribute.
|
String | getProperty()- Get the name of the property to hold the ant version.
|
void | setAtLeast(String atLeast)- Set the atleast attribute.
|
void | setExactly(String exactly)- Set the exactly attribute.
|
void | setProperty(String propertyname)- Set the name of the property to hold the ant version.
|
bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
getAtLeast
public String getAtLeast()
Get the atleast attribute.
getExactly
public String getExactly()
Get the exactly attribute.
getProperty
public String getProperty()
Get the name of the property to hold the ant version.
- the name of the property.
setAtLeast
public void setAtLeast(String atLeast)
Set the atleast attribute.
This is of the form major.minor.point.
For example 1.7.0.
atLeast - the version to check against.
setExactly
public void setExactly(String exactly)
Set the exactly attribute.
This is of the form major.minor.point.
For example 1.7.0.
exactly - the version to check against.
setProperty
public void setProperty(String propertyname)
Set the name of the property to hold the ant version.
propertyname - the name of the property.