public class Lifecycle
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
id
The ID of this lifecycle, for identification in the mojo
descriptor.
|
private java.util.List<Phase> |
phases
Field phases.
|
Constructor and Description |
---|
Lifecycle() |
Modifier and Type | Method and 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.
|
private java.lang.String id
private java.util.List<Phase> phases
public void addPhase(Phase phase)
phase
- a phase object.public java.lang.String getId()
public java.util.List<Phase> getPhases()
public void removePhase(Phase phase)
phase
- a phase object.public void setId(java.lang.String id)
id
- a id object.public void setPhases(java.util.List<Phase> phases)
phases
- a phases object.