description, location, project
Constructor and Description |
---|
AntVersion() |
Modifier and Type | Method and 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.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
public void execute() throws BuildException
execute
in class Task
BuildException
- if an error occurs.public boolean eval() throws BuildException
eval
in interface Condition
BuildException
- 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.