public class And extends ConditionBase implements Condition
Iterates over all conditions and returns false as soon as one evaluates to false.
Constructor and Description |
---|
And() |
Modifier and Type | Method and 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
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
public boolean eval() throws BuildException
Condition
eval
in interface Condition
BuildException
- if an error occurs