public class ResourceExists extends ProjectComponent implements Condition
description, location, project| 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, setProjectpublic void add(Resource r)
protected void validate()
throws BuildException
BuildExceptionpublic boolean eval()
throws BuildException
Conditioneval in interface ConditionBuildException - if an error occurs