java.lang.Cloneable, Conditionpublic class ResourceExists extends ProjectComponent implements Condition
description, location, project| Constructor | Description |
|---|---|
ResourceExists() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(Resource r) |
The resource to test.
|
boolean |
eval() |
Is this condition true?
|
protected void |
validate() |
Argument validation.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectpublic void add(Resource r)
r - Resourceprotected void validate()
throws BuildException
BuildExceptionpublic boolean eval()
throws BuildException
Conditioneval in interface ConditionBuildException - if an error occurs