net.dpml.tools.tasks
Class PluginTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by net.dpml.transit.tools.PluginTask
              extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class net.dpml.transit.tools.PluginTask
PluginTask.Antlib, PluginTask.Listener, PluginTask.Task
 
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
PluginTask()
           
 
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 net.dpml.transit.tools.PluginTask
createAntlib, createListener, createTask, getUri, setProject, setUri, setUrn
 
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 org.apache.tools.ant.ProjectComponent
getProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginTask

public PluginTask()
Method Detail

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