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, setProject
public void add(Resource r)
r
- Resourceprotected void validate() throws BuildException
BuildException
public boolean eval() throws BuildException
Condition
eval
in interface Condition
BuildException
- if an error occurs