org.codehaus.metaclass.tools.tasks
Class PluginElement

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.codehaus.metaclass.tools.tasks.PluginElement

public class PluginElement
extends org.apache.tools.ant.ProjectComponent

An element used by ant to configure an interceptor.

Version:
$Revision: 1.2 $ $Date: 2003/11/27 08:14:26 $
Author:
Peter Donald

Field Summary
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
PluginElement()
           
 
Method Summary
 org.apache.tools.ant.types.Path createClasspath()
          Add the classpath that interceptor loaded from.
 java.lang.String getName()
          Return the classname of the interceptor.
 org.apache.tools.ant.types.Path getPath()
          Return the path defining fileset to load interceptor from.
 void setName(java.lang.String name)
          Set the classname of the interceptor.
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, log, log, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginElement

public PluginElement()
Method Detail

createClasspath

public org.apache.tools.ant.types.Path createClasspath()
Add the classpath that interceptor loaded from.

Returns:
the classpath that interceptor loaded from.

setName

public void setName(java.lang.String name)
Set the classname of the interceptor.

Parameters:
name - the classname of the interceptor.

getPath

public org.apache.tools.ant.types.Path getPath()
Return the path defining fileset to load interceptor from.

Returns:
the path defining fileset to load interceptor from.

getName

public java.lang.String getName()
Return the classname of the interceptor.

Returns:
the classname of the interceptor.


Copyright © 2003-2004 Codehaus. All Rights Reserved.