Package org.apache.maven.plugin
Class MojoExecution
java.lang.Object
org.apache.maven.plugin.MojoExecution
MojoExecution
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDescribes the source of an execution. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.codehaus.plexus.util.xml.Xpp3Domprivate Stringprivate 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 Stringprivate StringThe 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 MojoDescriptorprivate Pluginprivate 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.Xpp3DomgetGoal()Gets the source of this execution.identify()voidsetConfiguration(org.codehaus.plexus.util.xml.Xpp3Dom configuration) voidsetForkedExecutions(String projectKey, List<MojoExecution> forkedExecutions) voidsetLifecyclePhase(String lifecyclePhase) voidsetMojoDescriptor(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
nullif 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
-