Package org.apache.maven.plugin
Class MojoExecution
java.lang.Object
org.apache.maven.plugin.MojoExecution
MojoExecution
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Describes the source of an execution. -
Constructor Summary
ConstructorDescriptionMojoExecution
(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()
-
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
-