|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.model.ConfigurationContainer org.apache.maven.model.PluginExecution
public class PluginExecution
The <execution>
element contains
informations required for the
execution of a plugin.
Field Summary | |
---|---|
static String |
DEFAULT_EXECUTION_ID
|
Constructor Summary | |
---|---|
PluginExecution()
|
Method Summary | |
---|---|
void |
addGoal(String string)
Method addGoal. |
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. |
String |
getModelEncoding()
|
String |
getPhase()
Get the build lifecycle phase to bind the goals in this execution to. |
void |
removeGoal(String string)
Method removeGoal. |
void |
setGoals(List 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. |
void |
setModelEncoding(String modelEncoding)
Set an encoding used for reading/writing the model. |
void |
setPhase(String phase)
Set the build lifecycle phase to bind the goals in this execution to. |
Methods inherited from class org.apache.maven.model.ConfigurationContainer |
---|
getConfiguration, getInherited, isInheritanceApplied, setConfiguration, setInherited, unsetInheritanceApplied |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_EXECUTION_ID
Constructor Detail |
---|
public PluginExecution()
Method Detail |
---|
public void addGoal(String string)
string
- public List getGoals()
public String getId()
public String getPhase()
public void removeGoal(String string)
string
- public void setGoals(List goals)
goals
- public void setId(String id)
id
- public void setPhase(String phase)
phase
- public void setModelEncoding(String modelEncoding)
setModelEncoding
in class ConfigurationContainer
modelEncoding
- the encoding used when reading/writing the model.public String getModelEncoding()
getModelEncoding
in class ConfigurationContainer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |