org.apache.tools.ant.taskdefs.conditionInterface Condition
- All Known Implementing Classes:
- And, AntVersion, Available, Checksum, Contains, Equals, FilesMatch, HasFreeSpace, HasMethod, Http, IsFailure, IsFalse, IsFileSelected, IsLastModified, IsReachable, IsReference, IsSet, IsSigned, IsTrue, JavaVersion, Length, Matches, Not, Or, Os, ParserSupports, ResourceContains, ResourceCount, ResourceExists, ResourcesMatch, ScriptCondition, Socket, TypeFound, UpToDate, Xor
public interface Condition
Interface for conditions to use inside the <condition> task.
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description boolean
eval()
Is this condition true?
Method Detail
eval
boolean eval() throws BuildExceptionIs this condition true?
- Returns:
- true if the condition is true
- Throws:
BuildException
- if an error occurs