org.apache.maven.plugin.lifecycle
Class Phase

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

public class Phase
extends Object
implements Serializable

A phase mapping definition.

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

Constructor Summary
Phase()
           
 
Method Summary
 void addExecution(Execution execution)
          Method addExecution.
 Object getConfiguration()
          Get configuration to pass to all goals run in this phase.
 List getExecutions()
          Method getExecutions.
 String getId()
          Get the ID of this phase, eg generate-sources.
 String getModelEncoding()
           
 void removeExecution(Execution execution)
          Method removeExecution.
 void setConfiguration(Object configuration)
          Set configuration to pass to all goals run in this phase.
 void setExecutions(List executions)
          Set the goals to execute within the phase.
 void setId(String id)
          Set the ID of this phase, eg generate-sources.
 void setModelEncoding(String modelEncoding)
          Set an encoding used for reading/writing the model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Phase

public Phase()
Method Detail

addExecution

public void addExecution(Execution execution)
Method addExecution.

Parameters:
execution -

getConfiguration

public Object getConfiguration()
Get configuration to pass to all goals run in this phase.

Returns:
Object

getExecutions

public List getExecutions()
Method getExecutions.

Returns:
java.util.List

getId

public String getId()
Get the ID of this phase, eg generate-sources.

Returns:
String

removeExecution

public void removeExecution(Execution execution)
Method removeExecution.

Parameters:
execution -

setConfiguration

public void setConfiguration(Object configuration)
Set configuration to pass to all goals run in this phase.

Parameters:
configuration -

setExecutions

public void setExecutions(List executions)
Set the goals to execute within the phase.

Parameters:
executions -

setId

public void setId(String id)
Set the ID of this phase, eg generate-sources.

Parameters:
id -

setModelEncoding

public void setModelEncoding(String modelEncoding)
Set an encoding used for reading/writing the model.

Parameters:
modelEncoding - the encoding used when reading/writing the model.

getModelEncoding

public String getModelEncoding()
Returns:
the current encoding used when reading/writing this model.


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