Class PluginMetadata
- java.lang.Object
-
- org.apache.maven.tools.plugin.extractor.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
-
-
Constructor Summary
Constructors Constructor Description PluginMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMojo(Mojo mojo)
Method addMojo.java.lang.String
getModelEncoding()
Get the modelEncoding field.java.util.List<Mojo>
getMojos()
Method getMojos.void
removeMojo(Mojo mojo)
Method removeMojo.void
setModelEncoding(java.lang.String modelEncoding)
Set the modelEncoding field.void
setMojos(java.util.List<Mojo> mojos)
Set the list of mojos contained in the accompanying script.
-
-
-
Method Detail
-
addMojo
public void addMojo(Mojo mojo)
Method addMojo.- Parameters:
mojo
- a mojo object.
-
getModelEncoding
public java.lang.String getModelEncoding()
Get the modelEncoding field.- Returns:
- String
-
getMojos
public java.util.List<Mojo> getMojos()
Method getMojos.- Returns:
- List
-
removeMojo
public void removeMojo(Mojo mojo)
Method removeMojo.- Parameters:
mojo
- a mojo object.
-
setModelEncoding
public void setModelEncoding(java.lang.String modelEncoding)
Set the modelEncoding field.- Parameters:
modelEncoding
- a modelEncoding object.
-
setMojos
public void setMojos(java.util.List<Mojo> mojos)
Set the list of mojos contained in the accompanying script.- Parameters:
mojos
- a mojos object.
-
-