All Implemented Interfaces:
Cloneable, Condition

public class And extends ConditionBase implements Condition
<and> condition container.

Iterates over all conditions and returns false as soon as one evaluates to false.

Ant 1.4
  • Constructor Details

    • And

      public And()
  • Method Details

    • eval

      public boolean eval() throws BuildException
      Description copied from interface: Condition
      Is this condition true?
      Specified by:
      eval in interface Condition
      true if all the contained conditions evaluates to true
      BuildException - if an error occurs