Class PluginExecution

  • All Implemented Interfaces:
    java.io.Serializable

    public class PluginExecution
    extends ConfigurationContainer
    implements java.io.Serializable
    The <execution> element contains informations required for the execution of a plugin.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String DEFAULT_EXECUTION_ID  
      private java.util.List<java.lang.String> goals
      Field goals.
      private java.lang.String id
      The identifier of this execution for labelling the goals during the build, and for matching executions to merge during inheritance and profile injection.
      private java.lang.String phase
      The build lifecycle phase to bind the goals in this execution to.
    • Constructor Summary

      Constructors 
      Constructor Description
      PluginExecution()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addGoal​(java.lang.String string)
      Method addGoal.
      java.util.List<java.lang.String> getGoals()
      Method getGoals.
      java.lang.String getId()
      Get the identifier of this execution for labelling the goals during the build, and for matching executions to merge during inheritance and profile injection.
      java.lang.String getPhase()
      Get the build lifecycle phase to bind the goals in this execution to.
      void removeGoal​(java.lang.String string)
      Method removeGoal.
      void setGoals​(java.util.List<java.lang.String> goals)
      Set the goals to execute with the given configuration.
      void setId​(java.lang.String id)
      Set the identifier of this execution for labelling the goals during the build, and for matching executions to merge during inheritance and profile injection.
      void setPhase​(java.lang.String phase)
      Set the build lifecycle phase to bind the goals in this execution to.
      • Methods inherited from class java.lang.Object

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

      • id

        private java.lang.String id
        The identifier of this execution for labelling the goals during the build, and for matching executions to merge during inheritance and profile injection.
      • phase

        private java.lang.String phase
        The build lifecycle phase to bind the goals in this execution to. If omitted, the goals will be bound to the default phase specified in their metadata.
      • goals

        private java.util.List<java.lang.String> goals
        Field goals.
      • DEFAULT_EXECUTION_ID

        public static final java.lang.String DEFAULT_EXECUTION_ID
        See Also:
        Constant Field Values
    • Constructor Detail

      • PluginExecution

        public PluginExecution()
    • Method Detail

      • addGoal

        public void addGoal​(java.lang.String string)
        Method addGoal.
        Parameters:
        string - a string object.
      • getGoals

        public java.util.List<java.lang.String> getGoals()
        Method getGoals.
        Returns:
        List
      • getId

        public java.lang.String getId()
        Get the identifier of this execution for labelling the goals during the build, and for matching executions to merge during inheritance and profile injection.
        Returns:
        String
      • getPhase

        public java.lang.String getPhase()
        Get the build lifecycle phase to bind the goals in this execution to. If omitted, the goals will be bound to the default phase specified in their metadata.
        Returns:
        String
      • removeGoal

        public void removeGoal​(java.lang.String string)
        Method removeGoal.
        Parameters:
        string - a string object.
      • setGoals

        public void setGoals​(java.util.List<java.lang.String> goals)
        Set the goals to execute with the given configuration.
        Parameters:
        goals - a goals object.
      • setId

        public void setId​(java.lang.String id)
        Set the identifier of this execution for labelling the goals during the build, and for matching executions to merge during inheritance and profile injection.
        Parameters:
        id - a id object.
      • setPhase

        public void setPhase​(java.lang.String phase)
        Set the build lifecycle phase to bind the goals in this execution to. If omitted, the goals will be bound to the default phase specified in their metadata.
        Parameters:
        phase - a phase object.