net.dpml.transit.tools
Class PluginTask.Task

java.lang.Object
  extended bynet.dpml.transit.tools.PluginTask.Task
Enclosing class:
PluginTask

public static class PluginTask.Task
extends Object

Nested element with the <plugin> element declaring the name and class of a task to be loaded from the classloader established by the transit plugin descriptor.


Constructor Summary
PluginTask.Task()
           
 
Method Summary
 String getClassname()
          Return the task classname.
 String getName()
          Return the task name.
 void setClass(String classname)
          Set the task classname.
 void setName(String name)
          Set the task name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginTask.Task

public PluginTask.Task()
Method Detail

setName

public void setName(String name)
Set the task name.

Parameters:
name - the name of the task

setClass

public void setClass(String classname)
Set the task classname.

Parameters:
classname - the task classname

getClassname

public String getClassname()
                    throws BuildException
Return the task classname.

Returns:
the classname
Throws:
BuildException - if the class attribute is missing

getName

public String getName()
               throws BuildException
Return the task name.

Returns:
the name
Throws:
BuildException - if the name attribute is missing