description, location, project| Constructor | Description |
|---|---|
AntVersion() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
eval() |
Evaluate the condition.
|
void |
execute() |
Run as a task.
|
java.lang.String |
getAtLeast() |
Get the atleast attribute.
|
java.lang.String |
getExactly() |
Get the exactly attribute.
|
java.lang.String |
getProperty() |
Get the name of the property to hold the ant version.
|
void |
setAtLeast(java.lang.String atLeast) |
Set the atleast attribute.
|
void |
setExactly(java.lang.String exactly) |
Set the exactly attribute.
|
void |
setProperty(java.lang.String propertyname) |
Set the name of the property to hold the ant version.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void execute()
throws BuildException
execute in class TaskBuildException - if an error occurs.public boolean eval()
throws BuildException
eval in interface ConditionBuildException - if an error occurs.public java.lang.String getAtLeast()
public void setAtLeast(java.lang.String atLeast)
atLeast - the version to check against.public java.lang.String getExactly()
public void setExactly(java.lang.String exactly)
exactly - the version to check against.public java.lang.String getProperty()
public void setProperty(java.lang.String propertyname)
propertyname - the name of the property.