Package org.apache.maven.model
Class PluginExecution
java.lang.Object
org.apache.maven.model.ConfigurationContainer
org.apache.maven.model.PluginExecution
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
The 
<execution> element contains
 informations required for the
         execution of a plugin.- Version:
- $Revision$ $Date$
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidMethod addGoal.clone()Method clone.getGoals()Method getGoals.getId()Get the identifier of this execution for labelling the goals during the build, and for matching executions to merge during inheritance and profile injection.getPhase()Get the build lifecycle phase to bind the goals in this execution to.intGet the priority of this execution compared to other executions which are bound to the same phase.voidremoveGoal(String string) Method removeGoal.voidSet the goals to execute with the given configuration.voidSet the identifier of this execution for labelling the goals during the build, and for matching executions to merge during inheritance and profile injection.voidSet the build lifecycle phase to bind the goals in this execution to.voidsetPriority(int priority) Set the priority of this execution compared to other executions which are bound to the same phase.toString()Methods inherited from class org.apache.maven.model.ConfigurationContainergetConfiguration, getInherited, getLocation, isInheritanceApplied, isInherited, setConfiguration, setInherited, setInherited, setLocation, setOtherLocation, unsetInheritanceApplied
- 
Field Details- 
DEFAULT_EXECUTION_ID- See Also:
 
 
- 
- 
Constructor Details- 
PluginExecutionpublic PluginExecution()
 
- 
- 
Method Details- 
addGoalMethod addGoal.- Parameters:
- string- a string object.
 
- 
cloneMethod clone.- Overrides:
- clonein class- ConfigurationContainer
- Returns:
- PluginExecution
 
- 
getGoalsMethod getGoals.- Returns:
- List
 
- 
getIdGet the identifier of this execution for labelling the goals during the build, and for matching executions to merge during inheritance and profile injection.- Returns:
- String
 
- 
getPhaseGet the build lifecycle phase to bind the goals in this execution to. If omitted, the goals will be bound to the default phase specified by the plugin.- Returns:
- String
 
- 
getPrioritypublic int getPriority()Get the priority of this execution compared to other executions which are bound to the same phase. Warning: This is an internal utility property that is only public for technical reasons, it is not part of the public API. In particular, this property can be changed or deleted without prior notice.- Returns:
- int
 
- 
removeGoalMethod removeGoal.- Parameters:
- string- a string object.
 
- 
setGoalsSet the goals to execute with the given configuration.- Parameters:
- goals- a goals object.
 
- 
setIdSet the identifier of this execution for labelling the goals during the build, and for matching executions to merge during inheritance and profile injection.- Parameters:
- id- a id object.
 
- 
setPhaseSet the build lifecycle phase to bind the goals in this execution to. If omitted, the goals will be bound to the default phase specified by the plugin.- Parameters:
- phase- a phase object.
 
- 
setPrioritypublic void setPriority(int priority) Set the priority of this execution compared to other executions which are bound to the same phase. Warning: This is an internal utility property that is only public for technical reasons, it is not part of the public API. In particular, this property can be changed or deleted without prior notice.- Parameters:
- priority- a priority object.
 
- 
toString
 
-