Class Phase
- java.lang.Object
-
- org.apache.maven.plugin.lifecycle.Phase
-
- All Implemented Interfaces:
java.io.Serializable
public class Phase extends java.lang.Object implements java.io.SerializableA phase mapping definition.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.ObjectconfigurationConfiguration to pass to all goals run in this phase.private java.util.List<Execution>executionsField executions.private java.lang.StringidThe ID of this phase, e.g.,generate-sources.
-
Constructor Summary
Constructors Constructor Description Phase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExecution(Execution execution)Method addExecution.java.lang.ObjectgetConfiguration()Get configuration to pass to all goals run in this phase.java.util.List<Execution>getExecutions()Method getExecutions.java.lang.StringgetId()Get the ID of this phase, e.g.,generate-sources.voidremoveExecution(Execution execution)Method removeExecution.voidsetConfiguration(java.lang.Object configuration)Set configuration to pass to all goals run in this phase.voidsetExecutions(java.util.List<Execution> executions)Set the goals to execute within the phase.voidsetId(java.lang.String id)Set the ID of this phase, e.g.,generate-sources.
-
-
-
Field Detail
-
id
private java.lang.String id
The ID of this phase, e.g.,generate-sources.
-
executions
private java.util.List<Execution> executions
Field executions.
-
configuration
private java.lang.Object configuration
Configuration to pass to all goals run in this phase.
-
-
Method Detail
-
addExecution
public void addExecution(Execution execution)
Method addExecution.- Parameters:
execution-
-
getConfiguration
public java.lang.Object getConfiguration()
Get configuration to pass to all goals run in this phase.- Returns:
- Object
-
getExecutions
public java.util.List<Execution> getExecutions()
Method getExecutions.- Returns:
- List
-
getId
public java.lang.String getId()
Get the ID of this phase, e.g.,generate-sources.- Returns:
- String
-
removeExecution
public void removeExecution(Execution execution)
Method removeExecution.- Parameters:
execution-
-
setConfiguration
public void setConfiguration(java.lang.Object configuration)
Set configuration to pass to all goals run in this phase.- Parameters:
configuration-
-
setExecutions
public void setExecutions(java.util.List<Execution> executions)
Set the goals to execute within the phase.- Parameters:
executions-
-
setId
public void setId(java.lang.String id)
Set the ID of this phase, e.g.,generate-sources.- Parameters:
id-
-
-