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.apache.maven.api.xml.Dom configuration) MojoExecution
(MojoDescriptor mojoDescriptor, Xpp3Dom configuration) -
Method Summary
Modifier and TypeMethodDescriptiongetGoal()
Gets the source of this execution.identify()
void
setConfiguration
(org.apache.maven.api.xml.Dom configuration) void
setConfiguration
(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
-
MojoExecution
-
-
Method Details
-
getSource
Gets the source of this execution.- Returns:
- The source of this execution or
null
if unknown.
-
getExecutionId
-
getPlugin
-
getMojoDescriptor
-
getConfiguration
-
setConfiguration
-
setConfiguration
public void setConfiguration(org.apache.maven.api.xml.Dom configuration) -
identify
-
getLifecyclePhase
-
setLifecyclePhase
-
toString
-
getGroupId
-
getArtifactId
-
getVersion
-
getGoal
-
setMojoDescriptor
-
getForkedExecutions
-
setForkedExecutions
-