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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidMethod addPhase.getId()Get the ID of this lifecycle, for identification in the mojo descriptor.Method getPhases.voidremovePhase(Phase phase) Method removePhase.voidSet the ID of this lifecycle, for identification in the mojo descriptor.voidSet 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.
-