ise.antelope.tasks
public class BooleanConditionTask extends org.apache.tools.ant.TaskAdapter
Constructor and Description |
---|
BooleanConditionTask()
Constructor for BooleanConditionTask
|
Modifier and Type | Method and Description |
---|---|
boolean |
eval()
Evaluates the condition object.
|
void |
execute()
Forwards to eval().
|
java.lang.Object |
getProxy()
Gets the proxy attribute of the BooleanConditionTask object
|
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)
Sets the proxy attribute of the BooleanConditionTask object
|
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, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
public BooleanConditionTask()
public java.lang.Object getProxy()
getProxy
in interface org.apache.tools.ant.TypeAdapter
getProxy
in class org.apache.tools.ant.TaskAdapter
public void setProxy(java.lang.Object proxy)
setProxy
in interface org.apache.tools.ant.TypeAdapter
setProxy
in class org.apache.tools.ant.TaskAdapter
proxy
- The new proxy valuepublic void setProperty(java.lang.String p)
p
- The new property valuepublic void setValue(java.lang.String v)
v
- The new value valuepublic 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.Task
org.apache.tools.ant.BuildException
- Description of Exceptionpublic void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.TaskAdapter
org.apache.tools.ant.BuildException
- Description of Exceptionpublic boolean eval()