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