Constructor and Description |
---|
AntVersion() |
Modifier and Type | Method and Description |
---|---|
boolean |
eval()
Evaluate 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.
|
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 boolean eval() throws BuildException
eval
in interface Condition
BuildException
- if an error occurs.public void execute() throws BuildException
execute
in class Task
BuildException
- if an error occurs.public String getAtLeast()
public String getExactly()
public String getProperty()
public void setAtLeast(String atLeast)
atLeast
- the version to check against.public void setExactly(String exactly)
exactly
- the version to check against.public void setProperty(String propertyname)
propertyname
- the name of the property.