public class IsReference extends ProjectComponent implements Condition
Optionally tests whether it is of a given type/class.
description, location, project| Constructor and Description | 
|---|
| IsReference() | 
| Modifier and Type | Method and 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. | 
clone, 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