| Modifier and Type | Field and Description |
|---|---|
| private Map | attributes
Attributes |
| private Map | nestedElementMap
Nested elements |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public Object | Returns: the element to be configuredthe nested element name name)Implements org. |
| public void | execute()
Overrides org. |
| public void | |
| private ScriptDef | |
| public String | |
| public void | setDynamicAttribute(String
the attribute name. name, String the attribute's string value value)Implements org. |
| attributes | back to summary |
|---|---|
| private Map<String, String> attributes Attributes | |
| nestedElementMap | back to summary |
|---|---|
| private Map<String, List<Object>> nestedElementMap Nested elements | |
| text | back to summary |
|---|---|
| private String text | |
| ScriptDefBase | back to summary |
|---|---|
| public ScriptDefBase() | |
| addText | back to summary |
|---|---|
| public void addText(String text) Set the script text.
| |
| createDynamicElement | back to summary |
|---|---|
| public Object createDynamicElement(String name) Implements org. Create a nested element | |
| execute | back to summary |
|---|---|
| public void execute() Overrides org. Locate the script defining task and execute the script by passing control to it
| |
| fail | back to summary |
|---|---|
| public void fail(String message) Utility method for nested scripts; throws a BuildException with the given message.
| |
| getScript | back to summary |
|---|---|
| private ScriptDef getScript() | |
| getText | back to summary |
|---|---|
| public String getText() get the text of this element; may be null
| |
| setDynamicAttribute | back to summary |
|---|---|
| public void setDynamicAttribute(String name, String value) Implements org. Set a task attribute | |