public class PluginExecution extends ConfigurationContainerimplements Serializable , Cloneable
<execution> element contains informations required for the execution of a plugin.
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_EXECUTION_ID
|
| Constructor and Description |
|---|
PluginExecution()
|
| Modifier and Type | Method and Description |
|---|---|
void |
addGoal(String
Method addGoal.
|
PluginExecution |
clone()
Method clone.
|
List |
getGoals()
Method getGoals.
|
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.
|
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(String
Method removeGoal.
|
void |
setGoals(List
Set the goals to execute with the given configuration.
|
void |
setId(String
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(String
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.
|
String |
toString()
|
getConfiguration, getInherited, getLocation, isInheritanceApplied, isInherited, setConfiguration, setInherited, setInherited, setLocation, unsetInheritanceAppliedpublic static final StringDEFAULT_EXECUTION_ID
public void addGoal(Stringstring)
string -
public PluginExecutionclone()
clone in class
ConfigurationContainer
public StringgetId()
public StringgetPhase()
public int getPriority()
public void removeGoal(Stringstring)
string -
public void setGoals(List<String > goals)
goals -
public void setId(Stringid)
id -
public void setPhase(Stringphase)
phase -
public void setPriority(int priority)
priority -
public StringtoString()