java.lang.Cloneable
, Condition
public class And extends ConditionBase implements Condition
Iterates over all conditions and returns false as soon as one evaluates to false.
description, location, project
Constructor | Description |
---|---|
And() |
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