public class BooleanConditionTask
extends org.apache.tools.ant.TaskAdapter
implements org.apache.tools.ant.taskdefs.condition.Condition
Developed for use with Antelope, migrated to ant-contrib Oct 2003.
| Constructor and Description |
|---|
BooleanConditionTask() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
eval()
Evaluates the condition object.
|
void |
execute()
Forwards to eval().
|
java.lang.Object |
getProxy() |
void |
maybeConfigure()
Override
maybeConfigure in a way that leaves the nested tasks
unconfigured until they get executed. |
void |
setProperty(java.lang.String p)
The name of the property to set.
|
void |
setProxy(java.lang.Object proxy) |
void |
setValue(java.lang.String v)
The value for the property to set, if condition evaluates to true.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocation, setProjectpublic java.lang.Object getProxy()
getProxy in interface org.apache.tools.ant.TypeAdaptergetProxy in class org.apache.tools.ant.TaskAdapterpublic void setProxy(java.lang.Object proxy)
setProxy in interface org.apache.tools.ant.TypeAdaptersetProxy in class org.apache.tools.ant.TaskAdapterpublic void setProperty(java.lang.String p)
public void setValue(java.lang.String v)
public void maybeConfigure()
throws org.apache.tools.ant.BuildException
maybeConfigure in a way that leaves the nested tasks
unconfigured until they get executed.maybeConfigure in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionpublic void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.TaskAdapterorg.apache.tools.ant.BuildExceptionpublic boolean eval()
eval in interface org.apache.tools.ant.taskdefs.condition.Condition