public class PluginExecution extends ConfigurationContainer implements java.io.Serializable, java.lang.Cloneable
<execution>
element contains
informations required for the
execution of a plugin.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_EXECUTION_ID |
private java.util.List<java.lang.String> |
goals
Field goals.
|
private java.lang.String |
id
The identifier of this execution for labelling the goals
during the build,
and for matching executions to merge during
inheritance and profile injection.
|
private java.lang.String |
phase
The build lifecycle phase to bind the goals in this
execution to.
|
private int |
priority
The priority of this execution compared to other
executions which are bound to the same phase.
|
Constructor and Description |
---|
PluginExecution() |
Modifier and Type | Method and Description |
---|---|
void |
addGoal(java.lang.String string)
Method addGoal.
|
PluginExecution |
clone()
Method clone.
|
java.util.List<java.lang.String> |
getGoals()
Method getGoals.
|
java.lang.String |
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.
|
java.lang.String |
getPhase()
Get the build lifecycle phase to bind the goals in this
execution to.
|
int |
getPriority()
Get the priority of this execution compared to other
executions which are bound to the same phase.
|
void |
removeGoal(java.lang.String string)
Method removeGoal.
|
void |
setGoals(java.util.List<java.lang.String> goals)
Set the goals to execute with the given configuration.
|
void |
setId(java.lang.String id)
Set the identifier of this execution for labelling the goals
during the build,
and for matching executions to merge during
inheritance and profile injection.
|
void |
setPhase(java.lang.String phase)
Set the build lifecycle phase to bind the goals in this
execution to.
|
void |
setPriority(int priority)
Set the priority of this execution compared to other
executions which are bound to the same phase.
|
java.lang.String |
toString() |
getConfiguration, getInherited, getLocation, isInheritanceApplied, isInherited, setConfiguration, setInherited, setInherited, setLocation, setOtherLocation, unsetInheritanceApplied
private java.lang.String id
private java.lang.String phase
private int priority
private java.util.List<java.lang.String> goals
public static final java.lang.String DEFAULT_EXECUTION_ID
public void addGoal(java.lang.String string)
string
- a string object.public PluginExecution clone()
clone
in class ConfigurationContainer
public java.util.List<java.lang.String> getGoals()
public java.lang.String getId()
public java.lang.String getPhase()
public int getPriority()
public void removeGoal(java.lang.String string)
string
- a string object.public void setGoals(java.util.List<java.lang.String> goals)
goals
- a goals object.public void setId(java.lang.String id)
id
- a id object.public void setPhase(java.lang.String phase)
phase
- a phase object.public void setPriority(int priority)
priority
- a priority object.public java.lang.String toString()
toString
in class java.lang.Object