java.lang.Cloneable
, Condition
public 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, wait
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