All Implemented Interfaces:
Cloneable, Condition

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
  • Constructor Details

    • Not

      public Not()
  • Method Details

    • eval

      public boolean eval() throws BuildException
      Evaluate condition
      Specified by:
      eval in interface Condition
      Returns:
      true if the condition is true.
      Throws:
      BuildException - if the condition is not configured correctly.