All Implemented Interfaces:
Cloneable, Condition

public class Xor extends ConditionBase implements Condition
The Xor condition type to exclusive or operations. This does not shortcut stuff.
Since:
Ant 1.7
  • Constructor Details

    • Xor

      public Xor()
  • Method Details

    • eval

      public boolean eval() throws BuildException
      Evaluate the contained conditions.
      Specified by:
      eval in interface Condition
      Returns:
      the result of xoring the conditions together.
      Throws:
      BuildException - if an error occurs.