org.apache.maven.plugin.lifecycle
Class Lifecycle

java.lang.Object
  extended by org.apache.maven.plugin.lifecycle.Lifecycle
All Implemented Interfaces:
java.io.Serializable

public class Lifecycle
extends java.lang.Object
implements java.io.Serializable

A custom lifecycle mapping definition.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Lifecycle()
           
 
Method Summary
 void addPhase(Phase phase)
          Method addPhase
 java.lang.String getId()
          Get The ID of this lifecycle, for identification in the mojo descriptor.
 java.lang.String getModelEncoding()
           
 java.util.List 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 setModelEncoding(java.lang.String modelEncoding)
           
 void setPhases(java.util.List 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 java.lang.String getId()
Get The ID of this lifecycle, for identification in the mojo descriptor.


getPhases

public java.util.List getPhases()
Method getPhases


removePhase

public void removePhase(Phase phase)
Method removePhase

Parameters:
phase -

setId

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

Parameters:
id -

setPhases

public void setPhases(java.util.List phases)
Set The phase mappings for this lifecycle.

Parameters:
phases -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)

getModelEncoding

public java.lang.String getModelEncoding()


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.