Class Lifecycle

java.lang.Object
org.apache.maven.plugin.lifecycle.Lifecycle
All Implemented Interfaces:
Serializable

public class Lifecycle extends Object implements Serializable
A custom lifecycle mapping definition.
Version:
$Revision$ $Date$
See Also:
  • Constructor Details Link icon

    • Lifecycle Link icon

      public Lifecycle()
  • Method Details Link icon

    • addPhase Link icon

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

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

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

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

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

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