java.lang.Cloneable
, Condition
public 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, wait
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
public void setRefid(Reference r)
r
- a Reference valuepublic void setType(java.lang.String type)
type
- an ant component type namepublic boolean eval() throws BuildException
Condition
eval
in interface Condition
BuildException
- if an error occurs