org.apache.tools.ant.taskdefs.condition
public class AntVersion extends Task implements Condition
Since: Ant 1.7
Method Summary | |
---|---|
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. |
Returns: true if the condition is true.
Throws: BuildException if an error occurs.
Throws: BuildException if an error occurs.
Returns: the atleast attribute.
Returns: the exactly attribute.
Returns: the name of the property.
Parameters: atLeast the version to check against.
Parameters: exactly the version to check against.
Parameters: propertyname the name of the property.