java.lang.Cloneable, Conditionpublic class TypeFound extends ProjectComponent implements Condition
description, location, project| Constructor | Description |
|---|---|
TypeFound() |
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
doesTypeExist(java.lang.String typename) |
test for a task or other ant type existing in the current project
|
boolean |
eval() |
Is this condition true?
|
void |
setName(java.lang.String name) |
the task or other type to look for
|
void |
setURI(java.lang.String uri) |
The URI for this definition.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectpublic void setName(java.lang.String name)
name - the name of the typepublic void setURI(java.lang.String uri)
uri - the namespace URI. If this is not set, use the
default ant namespace.protected boolean doesTypeExist(java.lang.String typename)
typename - the name of the typepublic boolean eval()
throws BuildException
eval in interface ConditionBuildException - if an error occurs