org.apache.tools.ant.taskdefs.condition

Class Not

public class Not extends ConditionBase implements Condition

<not> condition. Evaluates to true if the single condition nested into it is false and vice versa.

Since: Ant 1.4

Method Summary
booleaneval()
Evaluate condition

Method Detail

eval

public boolean eval()
Evaluate condition

Returns: true if the condition is true.

Throws: BuildException if the condition is not configured correctly.