|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Task is the core interface for all structures that will be processed by the TaskEngine.
Field Summary | |
static int |
EXECUTION_MODE_EXPLICIT
|
static int |
EXECUTION_MODE_IMPLICIT
|
static int |
EXECUTION_MODE_PRIORITY
|
static char |
NAME_SEPARATOR
|
Method Summary | |
void |
execute(org.apache.ant.engine.TaskEngine engine)
Causes the existing Task implementation to execute. |
java.lang.String |
getAttributeValue(java.lang.String name)
Each Task will hold its attributes in some manner. |
Task[] |
getChildren()
Returns the an array of Task objects that are subordinate to this Task. |
int |
getExecutionMode()
Determines whether this Task is executed whenever its parent is executed, or if its execution must be specifically requested. |
java.lang.String |
getFullyQualifiedName()
The "fully-qualified" name of a Task is the Task's name, prepended by its parent's name, prepended by its parent's name, etc. |
Task |
getParent()
Returns this Task's parent Task. |
Task |
getRootTask()
Proceed backwards through the nodes until we come across the first Task in the tree. |
Task |
getTask(java.lang.String taskPath)
A mechanism for locating a task relative to the current task. |
java.lang.String |
getTaskName()
Just a simple name used to identify a Task. |
void |
init(org.apache.ant.engine.TaskEngine engine)
Called when the Task first gets "noticed" by the TaskEngine. |
boolean |
isPropertyContainer()
Determines whether a Task is suitable for holding property values. |
void |
setParent(Task parent)
Sets the Task's parent. |
void |
validate()
Each Task should have the ability to validate its state. |
Field Detail |
public static final int EXECUTION_MODE_IMPLICIT
public static final int EXECUTION_MODE_EXPLICIT
public static final int EXECUTION_MODE_PRIORITY
public static final char NAME_SEPARATOR
Method Detail |
public void execute(org.apache.ant.engine.TaskEngine engine) throws org.apache.ant.AntException
public void init(org.apache.ant.engine.TaskEngine engine) throws org.apache.ant.AntException
public void validate() throws org.apache.ant.AntException
public java.lang.String getTaskName()
getFullyQualifiedName()
public Task getTask(java.lang.String taskPath)
public Task getRootTask()
public java.lang.String getFullyQualifiedName()
public int getExecutionMode()
public boolean isPropertyContainer()
public java.lang.String getAttributeValue(java.lang.String name)
public Task getParent()
public void setParent(Task parent)
public Task[] getChildren()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |