Class Phase
- java.lang.Object
-
- 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
Constructors Constructor Description Phase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExecution(Execution execution)Method addExecution.ObjectgetConfiguration()Get configuration to pass to all goals run in this phase.List<Execution>getExecutions()Method getExecutions.StringgetId()Get the ID of this phase, eggenerate-sources.voidremoveExecution(Execution execution)Method removeExecution.voidsetConfiguration(Object configuration)Set configuration to pass to all goals run in this phase.voidsetExecutions(List<Execution> executions)Set the goals to execute within the phase.voidsetId(String id)Set the ID of this phase, eggenerate-sources.
-
-
-
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
-
getId
public String getId()
Get the ID of this phase, eggenerate-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<Execution> executions)
Set the goals to execute within the phase.- Parameters:
executions-
-
setId
public void setId(String id)
Set the ID of this phase, eggenerate-sources.- Parameters:
id-
-
-