public class PluginExecution extends ConfigurationContainer implements 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 string)
Method addGoal.
|
PluginExecution |
clone()
Method clone.
|
List<String> |
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 string)
Method removeGoal.
|
void |
setGoals(List<String> goals)
Set the goals to execute with the given configuration.
|
void |
setId(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(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.
|
String |
toString() |
getConfiguration, getInherited, getLocation, isInheritanceApplied, isInherited, setConfiguration, setInherited, setInherited, setLocation, setOtherLocation, unsetInheritanceApplied
public static final String DEFAULT_EXECUTION_ID
public void addGoal(String string)
string
- public PluginExecution clone()
clone
in class ConfigurationContainer
public String getId()
public String getPhase()
public int getPriority()
public void removeGoal(String string)
string
- public void setGoals(List<String> goals)
goals
- public void setId(String id)
id
- public void setPhase(String phase)
phase
- public void setPriority(int priority)
priority
- Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.