org.apache.tools.ant.taskdefs.condition

Class Not

  • All Implemented Interfaces:
    java.lang.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 Detail

      • Not

        public Not()
    • Method Detail

      • 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.