|
org.apache.tools.ant.module/3 3.27.0 2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.module.spi.TaskStructure
public final class TaskStructure
Describes the structure of a task. Each instance corresponds to one task or nested element in a build script.
Method Summary | |
---|---|
String |
getAttribute(String name)
Get a single attribute. |
Set<String> |
getAttributeNames()
Get a set of all defined attribute names. |
TaskStructure[] |
getChildren()
Get any configured child elements. |
String |
getName()
Get the element name. |
String |
getText()
Get configured nested text. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String getName()
public String getAttribute(String name)
AntEvent.evaluate(java.lang.String)
.
name
- the attribute name
public Set<String> getAttributeNames()
getAttribute(java.lang.String)
; may be empty but not nullpublic String getText()
AntEvent.evaluate(java.lang.String)
.
public TaskStructure[] getChildren()
public String toString()
|
org.apache.tools.ant.module/3 3.27.0 2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |