org.apache.ant.antunit
public class ResourceExists extends org.apache.tools.ant.ProjectComponent implements org.apache.tools.ant.taskdefs.condition.Condition
Constructor and Description |
---|
ResourceExists() |
Modifier and Type | Method and Description |
---|---|
void |
add(org.apache.tools.ant.types.Resource r)
The resource to check as nested element.
|
boolean |
eval() |
void |
setRefid(java.lang.String refid)
The resource to check as a refid.
|
void |
setResource(org.apache.tools.ant.types.Resource r)
The resource to check as attribute.
|
public void setResource(org.apache.tools.ant.types.Resource r)
Exactly one resource must be specfied either as attribute or nested element.
public void setRefid(java.lang.String refid)
public void add(org.apache.tools.ant.types.Resource r)
Exactly one resource must be specfied either as attribute or nested element.
public boolean eval()
eval
in interface org.apache.tools.ant.taskdefs.condition.Condition