public class PluginExecution extends ConfigurationContainer implements Serializable
<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.
|
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.
|
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.
|
getConfiguration, getInherited, isInheritanceApplied, setConfiguration, setInherited, unsetInheritanceApplied
public static final String DEFAULT_EXECUTION_ID
public void addGoal(String string)
string
- public String getId()
public String getPhase()
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
- Copyright © 2001–2016 The Apache Software Foundation. All rights reserved.