Class Lifecycle

  • All Implemented Interfaces:
    java.io.Serializable

    public class Lifecycle
    extends java.lang.Object
    implements java.io.Serializable
    A custom lifecycle mapping definition.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String id
      The ID of this lifecycle, for identification in the mojo descriptor.
      private java.util.List<Phase> phases
      Field phases.
    • Constructor Summary

      Constructors 
      Constructor Description
      Lifecycle()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addPhase​(Phase phase)
      Method addPhase.
      java.lang.String getId()
      Get the ID of this lifecycle, for identification in the mojo descriptor.
      java.util.List<Phase> getPhases()
      Method getPhases.
      void removePhase​(Phase phase)
      Method removePhase.
      void setId​(java.lang.String id)
      Set the ID of this lifecycle, for identification in the mojo descriptor.
      void setPhases​(java.util.List<Phase> phases)
      Set the phase mappings for this lifecycle.
      • 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 ID of this lifecycle, for identification in the mojo descriptor.
      • phases

        private java.util.List<Phase> phases
        Field phases.
    • Constructor Detail

      • Lifecycle

        public Lifecycle()
    • Method Detail

      • addPhase

        public void addPhase​(Phase phase)
        Method addPhase.
        Parameters:
        phase -
      • getId

        public java.lang.String getId()
        Get the ID of this lifecycle, for identification in the mojo descriptor.
        Returns:
        String
      • getPhases

        public java.util.List<Phase> getPhases()
        Method getPhases.
        Returns:
        List
      • removePhase

        public void removePhase​(Phase phase)
        Method removePhase.
        Parameters:
        phase -
      • setId

        public void setId​(java.lang.String id)
        Set the ID of this lifecycle, for identification in the mojo descriptor.
        Parameters:
        id -
      • setPhases

        public void setPhases​(java.util.List<Phase> phases)
        Set the phase mappings for this lifecycle.
        Parameters:
        phases -