org.apache.tools.ant.taskdefs.condition

Class Or

public class Or extends ConditionBase implements Condition

<or> condition container.

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

Since: Ant 1.4

Method Summary
booleaneval()

Method Detail

eval

public boolean eval()

Returns: true if any of the contained conditions evaluate to true

Throws: BuildException if an error occurs