org.apache.maven.plugin.lifecycle
Class Lifecycle

java.lang.Object
  extended by 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:
Serialized Form

Constructor Summary
Lifecycle()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Lifecycle

public Lifecycle()
Method Detail

addPhase

public void addPhase(Phase phase)
Method addPhase.

Parameters:
phase -

getId

public String getId()
Get the ID of this lifecycle, for identification in the mojo descriptor.

Returns:
String

getPhases

public List<Phase> getPhases()
Method getPhases.

Returns:
List

removePhase

public void removePhase(Phase phase)
Method removePhase.

Parameters:
phase -

setId

public void setId(String id)
Set the ID of this lifecycle, for identification in the mojo descriptor.

Parameters:
id -

setPhases

public void setPhases(List<Phase> phases)
Set the phase mappings for this lifecycle.

Parameters:
phases -


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.