net.dpml.transit.tools
Class PluginTask.Listener

java.lang.Object
  extended by net.dpml.transit.tools.PluginTask.Listener
Enclosing class:
PluginTask

public static class PluginTask.Listener
extends Object

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


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

Constructor Detail

PluginTask.Listener

public PluginTask.Listener()
Method Detail

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