Class 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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String modelEncoding
      Field modelEncoding.
      private java.util.List<Mojo> mojos
      Field mojos.
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • mojos

        private java.util.List<Mojo> mojos
        Field mojos.
      • modelEncoding

        private java.lang.String modelEncoding
        Field modelEncoding.
    • Constructor Detail

      • PluginMetadata

        public PluginMetadata()
    • Method Detail

      • addMojo

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

        public void setModelEncoding​(java.lang.String modelEncoding)
        Set the modelEncoding field.
        Parameters:
        modelEncoding -
      • setMojos

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