java.lang.Cloneable, Conditionpublic class IsReference extends ProjectComponent implements Condition
Optionally tests whether it is of a given type/class.
description, location, project| Constructor | Description |
|---|---|
IsReference() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
eval() |
Is this condition true?
|
void |
setRefid(Reference r) |
Set the refid attribute.
|
void |
setType(java.lang.String type) |
Set the type attribute.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectpublic void setRefid(Reference r)
r - a Reference valuepublic void setType(java.lang.String type)
type - an ant component type namepublic boolean eval()
throws BuildException
Conditioneval in interface ConditionBuildException - if an error occurs