java.lang.Cloneable
, Condition
public class Or extends ConditionBase implements Condition
Iterates over all conditions and returns true as soon as one evaluates to true.
description, location, project
Constructor | Description |
---|---|
Or() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
eval() |
Is this condition true?
|
add, addAnd, addAvailable, addChecksum, addContains, addEquals, addFilesMatch, addHttp, addIsFalse, addIsFileSelected, addIsReference, addIsSet, addIsTrue, addNot, addOr, addOs, addSocket, addUptodate, countConditions, getConditions, getTaskName, setTaskName
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
public boolean eval() throws BuildException
Condition
eval
in interface Condition
BuildException
- if an error occurs