org.apache.maven.plugin.tools.model
Class PluginMetadata

java.lang.Object
  extended by org.apache.maven.plugin.tools.model.PluginMetadata
All Implemented Interfaces:
java.io.Serializable

public class PluginMetadata
extends java.lang.Object
implements java.io.Serializable

Root element of a script-based mojo's plugin metadata bindings.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
private  java.lang.String modelEncoding
           
private  java.util.List mojos
          Field mojos
 
Constructor Summary
PluginMetadata()
           
 
Method Summary
 void addMojo(Mojo mojo)
          Method addMojo
 java.lang.String getModelEncoding()
           
 java.util.List getMojos()
          Method getMojos
 void removeMojo(Mojo mojo)
          Method removeMojo
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setMojos(java.util.List mojos)
          Set The list of mojos contained in the accompanying script.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mojos

private java.util.List mojos
Field mojos


modelEncoding

private java.lang.String modelEncoding
Constructor Detail

PluginMetadata

public PluginMetadata()
Method Detail

addMojo

public void addMojo(Mojo mojo)
Method addMojo

Parameters:
mojo -

getMojos

public java.util.List getMojos()
Method getMojos


removeMojo

public void removeMojo(Mojo mojo)
Method removeMojo

Parameters:
mojo -

setMojos

public void setMojos(java.util.List mojos)
Set The list of mojos contained in the accompanying script.

Parameters:
mojos -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)

getModelEncoding

public java.lang.String getModelEncoding()