org.apache.tools.ant.taskdefs.condition
public class TypeFound extends ProjectComponent implements Condition
Method Summary | |
---|---|
protected boolean | doesTypeExist(String typename)
test for a task or other ant type existing in the current project |
boolean | eval()
Is this condition true? |
void | setName(String name)
the task or other type to look for |
void | setURI(String uri)
The URI for this definition. |
Parameters: typename the name of the type
Returns: true if the typename exists
Returns: true if the condition is true
Throws: BuildException if an error occurs
Parameters: name the name of the type
Parameters: uri the namespace URI. If this is not set, use the default ant namespace.