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

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

public class PluginMetadata
extends Object
implements Serializable

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

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

Constructor Summary
PluginMetadata()
           
 
Method Summary
 void addMojo(Mojo mojo)
          Method addMojo.
 String getModelEncoding()
          Get the modelEncoding field.
 List<Mojo> getMojos()
          Method getMojos.
 void removeMojo(Mojo mojo)
          Method removeMojo.
 void setModelEncoding(String modelEncoding)
          Set the modelEncoding field.
 void setMojos(List<Mojo> 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
 

Constructor Detail

PluginMetadata

public PluginMetadata()
Method Detail

addMojo

public void addMojo(Mojo mojo)
Method addMojo.

Parameters:
mojo -

getModelEncoding

public String getModelEncoding()
Get the modelEncoding field.

Returns:
String

getMojos

public List<Mojo> getMojos()
Method getMojos.

Returns:
List

removeMojo

public void removeMojo(Mojo mojo)
Method removeMojo.

Parameters:
mojo -

setModelEncoding

public void setModelEncoding(String modelEncoding)
Set the modelEncoding field.

Parameters:
modelEncoding -

setMojos

public void setMojos(List<Mojo> mojos)
Set the list of mojos contained in the accompanying script.

Parameters:
mojos -


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.