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
    • 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
    • Constructor Detail

      • Lifecycle

        public Lifecycle()
    • Method Detail

      • addPhase

        public void addPhase​(Phase phase)
        Method addPhase.
        Parameters:
        phase - a phase object.
      • 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 - a phase object.
      • setId

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

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