public class Lifecycle extends Object implements Serializable
Constructor and Description |
---|
Lifecycle() |
Modifier and Type | Method and Description |
---|---|
void |
addPhase(Phase phase)
Method addPhase.
|
String |
getId()
Get the ID of this lifecycle, for identification in the mojo
descriptor.
|
List<Phase> |
getPhases()
Method getPhases.
|
void |
removePhase(Phase phase)
Method removePhase.
|
void |
setId(String id)
Set the ID of this lifecycle, for identification in the mojo
descriptor.
|
void |
setPhases(List<Phase> phases)
Set the phase mappings for this lifecycle.
|
public void addPhase(Phase phase)
phase
- public String getId()
public void removePhase(Phase phase)
phase
- public void setId(String id)
id
- Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.