Class Lifecycle

    • Constructor Detail

      • Lifecycle

        public Lifecycle()
    • Method Detail

      • addPhase

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

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

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

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

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

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