public class PluginExecution extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PluginExecution.PluginExecutionBuilder
A builder of plugin executions.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_EXECUTION_ID
The default plugin execution id
|
protected org.apache.maven.model.PluginExecution |
pluginExecution |
| Modifier | Constructor and Description |
|---|---|
protected |
PluginExecution(org.apache.maven.model.PluginExecution pluginExecution) |
| Modifier and Type | Method and Description |
|---|---|
void |
addGoal(String string)
Adds a goal to the plugin execution
|
boolean |
equals(Object o) |
org.codehaus.plexus.util.xml.Xpp3Dom |
getConfiguration()
Retrieves the configuration tag of this execution
|
List<String> |
getGoals()
Retrieves all the goals defined to the plugin execution
|
String |
getId()
Retrieves the plugin execution id
|
protected org.apache.maven.model.PluginExecution |
getInnerModel()
Retrieves the plugin execution model represented by a maven core object.
|
String |
getPhase()
Retrieves the phase defined in the plugin execution
|
int |
getPriority()
Retrieves the priority of the plugin execution
|
int |
hashCode() |
void |
removeGoal(String string)
Removes a goal of the plugin execution
|
void |
setGoals(List<String> goals)
Sets a
List of goals to the plugin execution |
void |
setId(String id)
Sets the plugin execution id
|
void |
setPhase(String phase)
Sets the phase in the plugin execution
|
void |
setPriority(int priority)
Sets the priority of the plugin execution
|
String |
toString()
toString implementation of the plugin execution
|
protected org.apache.maven.model.PluginExecution pluginExecution
public static final String DEFAULT_EXECUTION_ID
protected PluginExecution(org.apache.maven.model.PluginExecution pluginExecution)
protected org.apache.maven.model.PluginExecution getInnerModel()
public void addGoal(String string)
string - public List<String> getGoals()
List representing the goalspublic org.codehaus.plexus.util.xml.Xpp3Dom getConfiguration()
Xpp3Dom representing the configurationpublic String getId()
public String getPhase()
public int getPriority()
public void removeGoal(String string)
string - a string representation of the goal to be removedpublic void setGoals(List<String> goals)
List of goals to the plugin executiongoals - a List representing the goalspublic void setId(String id)
id - a string representation of the idpublic void setPhase(String phase)
phase - a string representation of the phasepublic void setPriority(int priority)
priority - an integer representation of the prioritypublic String toString()
Copyright © 2018 MuleSoft Inc. All rights reserved.