public class MojoExecution
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MojoExecution.Source
Describes the source of an execution.
|
Modifier and Type | Field and Description |
---|---|
private org.codehaus.plexus.util.xml.Xpp3Dom |
configuration |
private java.lang.String |
executionId |
private java.util.Map<java.lang.String,java.util.List<MojoExecution>> |
forkedExecutions
The executions to fork before this execution, indexed by the groupId:artifactId:version of the project on which
the forked execution are to be run and in reactor build order.
|
private java.lang.String |
goal |
private java.lang.String |
lifecyclePhase
The phase may or may not have been bound to a phase but once the plan has been calculated we know what phase
this mojo execution is going to run in.
|
private MojoDescriptor |
mojoDescriptor |
private Plugin |
plugin |
private MojoExecution.Source |
source |
Constructor and Description |
---|
MojoExecution(MojoDescriptor mojoDescriptor) |
MojoExecution(MojoDescriptor mojoDescriptor,
java.lang.String executionId) |
MojoExecution(MojoDescriptor mojoDescriptor,
java.lang.String executionId,
MojoExecution.Source source) |
MojoExecution(MojoDescriptor mojoDescriptor,
org.codehaus.plexus.util.xml.Xpp3Dom configuration) |
MojoExecution(Plugin plugin,
java.lang.String goal,
java.lang.String executionId) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getArtifactId() |
org.codehaus.plexus.util.xml.Xpp3Dom |
getConfiguration() |
java.lang.String |
getExecutionId() |
java.util.Map<java.lang.String,java.util.List<MojoExecution>> |
getForkedExecutions() |
java.lang.String |
getGoal() |
java.lang.String |
getGroupId() |
java.lang.String |
getLifecyclePhase() |
MojoDescriptor |
getMojoDescriptor() |
Plugin |
getPlugin() |
MojoExecution.Source |
getSource()
Gets the source of this execution.
|
java.lang.String |
getVersion() |
java.lang.String |
identify() |
void |
setConfiguration(org.codehaus.plexus.util.xml.Xpp3Dom configuration) |
void |
setForkedExecutions(java.lang.String projectKey,
java.util.List<MojoExecution> forkedExecutions) |
void |
setLifecyclePhase(java.lang.String lifecyclePhase) |
void |
setMojoDescriptor(MojoDescriptor mojoDescriptor) |
java.lang.String |
toString() |
private Plugin plugin
private java.lang.String goal
private java.lang.String executionId
private MojoDescriptor mojoDescriptor
private org.codehaus.plexus.util.xml.Xpp3Dom configuration
private MojoExecution.Source source
private java.lang.String lifecyclePhase
private java.util.Map<java.lang.String,java.util.List<MojoExecution>> forkedExecutions
public MojoExecution(Plugin plugin, java.lang.String goal, java.lang.String executionId)
public MojoExecution(MojoDescriptor mojoDescriptor)
public MojoExecution(MojoDescriptor mojoDescriptor, java.lang.String executionId, MojoExecution.Source source)
public MojoExecution(MojoDescriptor mojoDescriptor, java.lang.String executionId)
public MojoExecution(MojoDescriptor mojoDescriptor, org.codehaus.plexus.util.xml.Xpp3Dom configuration)
public MojoExecution.Source getSource()
null
if unknown.public java.lang.String getExecutionId()
public Plugin getPlugin()
public MojoDescriptor getMojoDescriptor()
public org.codehaus.plexus.util.xml.Xpp3Dom getConfiguration()
public void setConfiguration(org.codehaus.plexus.util.xml.Xpp3Dom configuration)
public java.lang.String identify()
public java.lang.String getLifecyclePhase()
public void setLifecyclePhase(java.lang.String lifecyclePhase)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getGroupId()
public java.lang.String getArtifactId()
public java.lang.String getVersion()
public java.lang.String getGoal()
public void setMojoDescriptor(MojoDescriptor mojoDescriptor)
public java.util.Map<java.lang.String,java.util.List<MojoExecution>> getForkedExecutions()
public void setForkedExecutions(java.lang.String projectKey, java.util.List<MojoExecution> forkedExecutions)