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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod addMojo.Get the modelEncoding field.getMojos()Method getMojos.voidremoveMojo(Mojo mojo) Method removeMojo.voidsetModelEncoding(String modelEncoding) Set the modelEncoding field.voidSet 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.
-