Class MojoMessage
java.lang.Object
org.codehaus.plexus.build.connect.messages.Message
org.codehaus.plexus.build.connect.messages.MojoMessage
Mesaage generated when a mojo is executed
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionMojoMessage(org.apache.maven.plugin.MojoExecution mojoExecution, org.apache.maven.execution.ExecutionEvent.Type type) Creates a Mojo message from execution and type -
Method Summary
Methods inherited from class Message
decode, equals, getBooleanProperty, getBooleanProperty, getProperty, getProperty, getSessionId, hashCode, keys, replyTo, serialize, serialize, toString
-
Constructor Details
-
MojoMessage
public MojoMessage(org.apache.maven.plugin.MojoExecution mojoExecution, org.apache.maven.execution.ExecutionEvent.Type type) Creates a Mojo message from execution and type- Parameters:
mojoExecution-type-
-
-
Method Details
-
getGroupId
- Returns:
- the group id
-
getArtifactId
- Returns:
- the artifact id
-
getVersion
- Returns:
- the version
-
getExecutionId
- Returns:
- the execution id
-
getLifecyclePhase
- Returns:
- the lifecycle phase
-
getGoal
- Returns:
- the lifecycle phase
-
getType
- Returns:
- the type of event
-