Package org.apache.maven.plugin
Class MojoExecution
java.lang.Object
org.apache.maven.plugin.MojoExecution
MojoExecution
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Describes the source of an execution. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.codehaus.plexus.util.xml.Xpp3Dom
private String
private Map<String,
List<MojoExecution>> 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 String
private String
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
private Plugin
private MojoExecution.Source
-
Constructor Summary
ConstructorsConstructorDescriptionMojoExecution
(Plugin plugin, String goal, String executionId) MojoExecution
(MojoDescriptor mojoDescriptor) MojoExecution
(MojoDescriptor mojoDescriptor, String executionId) MojoExecution
(MojoDescriptor mojoDescriptor, String executionId, MojoExecution.Source source) MojoExecution
(MojoDescriptor mojoDescriptor, org.codehaus.plexus.util.xml.Xpp3Dom configuration) -
Method Summary
Modifier and TypeMethodDescriptionorg.codehaus.plexus.util.xml.Xpp3Dom
getGoal()
Gets the source of this execution.identify()
void
setConfiguration
(org.codehaus.plexus.util.xml.Xpp3Dom configuration) void
setForkedExecutions
(String projectKey, List<MojoExecution> forkedExecutions) void
setLifecyclePhase
(String lifecyclePhase) void
setMojoDescriptor
(MojoDescriptor mojoDescriptor) toString()
-
Field Details
-
plugin
-
goal
-
executionId
-
mojoDescriptor
-
configuration
private org.codehaus.plexus.util.xml.Xpp3Dom configuration -
source
-
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. -
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.
-
-
Constructor Details
-
MojoExecution
-
MojoExecution
-
MojoExecution
public MojoExecution(MojoDescriptor mojoDescriptor, String executionId, MojoExecution.Source source) -
MojoExecution
-
MojoExecution
public MojoExecution(MojoDescriptor mojoDescriptor, org.codehaus.plexus.util.xml.Xpp3Dom configuration)
-
-
Method Details
-
getSource
Gets the source of this execution.- Returns:
- The source of this execution or
null
if unknown.
-
getExecutionId
-
getPlugin
-
getMojoDescriptor
-
getConfiguration
public org.codehaus.plexus.util.xml.Xpp3Dom getConfiguration() -
setConfiguration
public void setConfiguration(org.codehaus.plexus.util.xml.Xpp3Dom configuration) -
identify
-
getLifecyclePhase
-
setLifecyclePhase
-
toString
-
getGroupId
-
getArtifactId
-
getVersion
-
getGoal
-
setMojoDescriptor
-
getForkedExecutions
-
setForkedExecutions
-