Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.taskdefs.condition.IsReference
Field Summary |
Fields inherited from class org.apache.tools.ant.ProjectComponent | |
project |
Methods inherited from class org.apache.tools.ant.ProjectComponent | |
getProject , log , log , setProject |
public boolean eval() throws BuildException
- Returns:
- true if the reference exists and if type is set, if the reference is the same type
- Throws:
BuildException
- if an error occurs
public void setType(String type)
Set the type attribute. This is optional attribute.
- Parameters:
type
- an ant component type name