public class ResourceExists extends ProjectComponent implements Condition
Constructor and Description |
---|
ResourceExists() |
Modifier and Type | Method and Description |
---|---|
void |
add(Resource r)
The resource to test.
|
boolean |
eval()
Is this condition true?
|
protected void |
validate()
Argument validation.
|
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
public void add(Resource r)
public boolean eval() throws BuildException
Condition
eval
in interface Condition
BuildException
- if an error occursprotected void validate() throws BuildException
BuildException