org.apache.tools.ant.taskdefs.condition
Class AntVersion
java.lang.Object
org.apache.tools.ant.taskdefs.condition.AntVersion
- Condition
public class AntVersion
extends java.lang.Object
An Ant version condition.
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.
|
getAtLeast
public String getAtLeast()
Get the atleast attribute.
getExactly
public String getExactly()
Get the exactly attribute.
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.