Class Lifecycle
java.lang.Object
org.apache.maven.plugin.lifecycle.Lifecycle
- All Implemented Interfaces:
Serializable
A custom lifecycle mapping definition.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Method addPhase.getId()
Get the ID of this lifecycle, for identification in the mojo descriptor.Method getPhases.void
removePhase
(Phase phase) Method removePhase.void
Set the ID of this lifecycle, for identification in the mojo descriptor.void
Set the phase mappings for this lifecycle.
-
Constructor Details
-
Lifecycle
public Lifecycle()
-
-
Method Details
-
addPhase
Method addPhase.- Parameters:
phase
- a phase object.
-
getId
Get the ID of this lifecycle, for identification in the mojo descriptor.- Returns:
- String
-
getPhases
Method getPhases.- Returns:
- List
-
removePhase
Method removePhase.- Parameters:
phase
- a phase object.
-
setId
Set the ID of this lifecycle, for identification in the mojo descriptor.- Parameters:
id
- a id object.
-
setPhases
Set the phase mappings for this lifecycle.- Parameters:
phases
- a phases object.
-