net.sf.antcontrib.logic.condition
public class BooleanConditionTask extends TaskAdapter implements Condition
Developed for use with Antelope, migrated to ant-contrib Oct 2003.
Version: $Revision: 1.3 $
| Method Summary | |
|---|---|
| boolean | eval()
Evaluates the condition object. |
| void | execute()
Forwards to eval(). |
| Object | getProxy() |
| void | maybeConfigure()
Override org.apache.tools.ant.Task#maybeConfigure
maybeConfigure in a way that leaves the nested tasks
unconfigured until they get executed.
|
| void | setProperty(String p)
The name of the property to set. |
| void | setProxy(Object proxy) |
| void | setValue(String v)
The value for the property to set, if condition evaluates to true.
|
Returns: true or false, depending on the evaluation of the condition.
org.apache.tools.ant.Task#maybeConfigure
maybeConfigure in a way that leaves the nested tasks
unconfigured until they get executed.
Since: Ant 1.5