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:
  • Constructor Details

  • Method Details

    • addMojo

      public void addMojo(Mojo mojo)
      Method addMojo.
      Parameters:
      mojo - a mojo object.
    • 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 - a mojo object.
    • setModelEncoding

      public void setModelEncoding(String modelEncoding)
      Set the modelEncoding field.
      Parameters:
      modelEncoding - a modelEncoding object.
    • setMojos

      public void setMojos(List<Mojo> mojos)
      Set the list of mojos contained in the accompanying script.
      Parameters:
      mojos - a mojos object.