|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.apache.tools.ant.ProjectComponent
|
+--org.apache.tools.ant.Task
|
+--org.ejen.EjenTask
Ejen ant task class (wrapes an EjenRootNode).
| Usage (ant build file) |
|---|
|
Parent nodes:
target node.
| Field Summary |
| Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
| Constructor Summary | |
EjenTask()
Constructor (creates a new EjenRootNode and register an EjenListener for message/error
reporting. |
|
| Method Summary | |
EjenFilterNode |
createFilter()
Creates a new filter node. |
EjenMergeNode |
createMerge()
Creates a new merge node. |
EjenSaveNode |
createSave()
Creates a new save node. |
EjenSourceNode |
createSource()
Creates a new source node. |
EjenTemplateNode |
createTemplate()
Creates a new template node. |
void |
execute()
Executes the generation, according to child nodes. |
void |
setStacktrace(boolean stacktrace)
[optional] - sets the stacktrace option for error reporting (print or not a stack trace). |
| Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EjenTask()
EjenListener for message/error
reporting.
| Method Detail |
public void setStacktrace(boolean stacktrace)
false.
stacktrace - a String equals to "true" or "false",
automatically converted to a boolean by Ant.public EjenFilterNode createFilter()
public EjenTemplateNode createTemplate()
public EjenSourceNode createSource()
public EjenSaveNode createSave()
public EjenMergeNode createMerge()
public void execute()
throws BuildException
execute in class TaskBuildException - if goes wrong.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||