Top Description Constructors Methods
org.apache.tools.ant.taskdefs.condition

public Class Xor

extends ConditionBase
implements Condition
Class Inheritance
All Implemented Interfaces
org.apache.tools.ant.taskdefs.condition.Condition
Imports
org.apache.tools.ant.BuildException, org.apache.tools.ant.util.StreamUtils

The Xor condition type to exclusive or operations. This does not shortcut stuff.
Since
Ant 1.7

Constructor Summary

AccessConstructor and Description
public
Xor()

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

the result of xoring the conditions together.
eval
()

Implements org.apache.tools.ant.taskdefs.condition.Condition.eval.

Evaluate the contained conditions.
Inherited from org.apache.tools.ant.taskdefs.condition.ConditionBase:
addaddAndaddAvailableaddChecksumaddContainsaddEqualsaddFilesMatchaddHttpaddIsFalseaddIsFileSelectedaddIsReferenceaddIsSetaddIsTrueaddNotaddOraddOsaddSocketaddUptodatecountConditionsgetConditionsgetTaskNamesetTaskName

Constructor Detail

Xorback to summary
public Xor()

Method Detail

evalback to summary
public boolean eval() throws BuildException

Implements org.apache.tools.ant.taskdefs.condition.Condition.eval.

Evaluate the contained conditions.

Returns:boolean

the result of xoring the conditions together.

Annotations
@Override
Exceptions
BuildException:
if an error occurs.