net.dpml.tools.tasks
Class PluginTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
net.dpml.transit.tools.PluginTask
net.dpml.tools.tasks.PluginTask
public class PluginTask
- extends PluginTask
The plugin task handles the establishment of ant tasks, listeners, and antlibs derived
from a classloader established by the tools sub-system.
- Version:
- 1.2.0
- Author:
- Digital Product Meta Library
Method Summary |
void |
execute()
Task execution. |
void |
init()
Task initialization. |
static void |
initialize(Task task)
Initialize the supplied task. |
void |
setRef(String ref)
Set the ref address of a plugin resource. |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginTask
public PluginTask()
setRef
public void setRef(String ref)
- Set the ref address of a plugin resource.
- Parameters:
ref
- a resource ref
init
public void init()
- Task initialization.
- Overrides:
init
in class Task
execute
public void execute()
- Task execution.
- Overrides:
execute
in class PluginTask
initialize
public static void initialize(Task task)
throws BuildException
- Initialize the supplied task.
- Parameters:
task
- the task to initialize
- Throws:
BuildException
- if an initialization error occurs