Class PluginMetadata
java.lang.Object
org.apache.maven.tools.plugin.extractor.model.PluginMetadata
- All Implemented Interfaces:
Serializable
Root element of a script-based mojo's plugin metadata bindings.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Method addMojo.Get the modelEncoding field.getMojos()
Method getMojos.void
removeMojo
(Mojo mojo) Method removeMojo.void
setModelEncoding
(String modelEncoding) Set the modelEncoding field.void
Set the list of mojos contained in the accompanying script.
-
Constructor Details
-
PluginMetadata
public PluginMetadata()
-
-
Method Details
-
addMojo
Method addMojo.- Parameters:
mojo
- a mojo object.
-
getModelEncoding
Get the modelEncoding field.- Returns:
- String
-
getMojos
Method getMojos.- Returns:
- List
-
removeMojo
Method removeMojo.- Parameters:
mojo
- a mojo object.
-
setModelEncoding
Set the modelEncoding field.- Parameters:
modelEncoding
- a modelEncoding object.
-
setMojos
Set the list of mojos contained in the accompanying script.- Parameters:
mojos
- a mojos object.
-