org.apache.tools.ant.taskdefs.condition
public class AntVersion extends Object implements Condition
Since: Ant 1.7
Method Summary | |
---|---|
boolean | eval()
Evalute the condition. |
String | getAtLeast()
Get the atleast attribute. |
String | getExactly()
Get the exactly attribute. |
void | setAtLeast(String atLeast)
Set the atleast attribute.
|
void | setExactly(String exactly)
Set the exactly attribute.
|
Returns: true if the condition is true.
Throws: BuildException if an error occurs.
Returns: the atleast attribute.
Returns: the exactly attribute.
Parameters: atLeast the version to check against.
Parameters: exactly the version to check against.