Class Phase
java.lang.Object
org.apache.maven.plugin.lifecycle.Phase
- All Implemented Interfaces:
Serializable
A phase mapping definition.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addExecution
(Execution execution) Method addExecution.Get configuration to pass to all goals run in this phase.Method getExecutions.getId()
Get the ID of this phase, e.g.,generate-sources
.void
removeExecution
(Execution execution) Method removeExecution.void
setConfiguration
(Object configuration) Set configuration to pass to all goals run in this phase.void
setExecutions
(List<Execution> executions) Set the goals to execute within the phase.void
Set the ID of this phase, e.g.,generate-sources
.
-
Constructor Details
-
Phase
public Phase()
-
-
Method Details
-
addExecution
Method addExecution.- Parameters:
execution
- a execution object.
-
getConfiguration
Get configuration to pass to all goals run in this phase.- Returns:
- Object
-
getExecutions
Method getExecutions.- Returns:
- List
-
getId
Get the ID of this phase, e.g.,generate-sources
.- Returns:
- String
-
removeExecution
Method removeExecution.- Parameters:
execution
- a execution object.
-
setConfiguration
Set configuration to pass to all goals run in this phase.- Parameters:
configuration
- a configuration object.
-
setExecutions
Set the goals to execute within the phase.- Parameters:
executions
- a executions object.
-
setId
Set the ID of this phase, e.g.,generate-sources
.- Parameters:
id
- a id object.
-