Class MojoMessage
- java.lang.Object
-
- org.codehaus.plexus.build.connect.messages.Message
-
- org.codehaus.plexus.build.connect.messages.MojoMessage
-
public class MojoMessage extends Message
Mesaage generated when a mojo is executed
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMojoMessage.EventTypecreate the event type
-
Constructor Summary
Constructors Constructor Description MojoMessage(org.apache.maven.plugin.MojoExecution mojoExecution, org.apache.maven.execution.ExecutionEvent.Type type)Creates a Mojo message from execution and type
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetArtifactId()java.lang.StringgetExecutionId()java.lang.StringgetGoal()java.lang.StringgetGroupId()java.lang.StringgetLifecyclePhase()MojoMessage.EventTypegetType()java.lang.StringgetVersion()-
Methods inherited from class org.codehaus.plexus.build.connect.messages.Message
decode, equals, getBooleanProperty, getBooleanProperty, getProperty, getProperty, getSessionId, hashCode, keys, replyTo, serialize, serialize, toString
-
-
-
-
Method Detail
-
getGroupId
public java.lang.String getGroupId()
- Returns:
- the group id
-
getArtifactId
public java.lang.String getArtifactId()
- Returns:
- the artifact id
-
getVersion
public java.lang.String getVersion()
- Returns:
- the version
-
getExecutionId
public java.lang.String getExecutionId()
- Returns:
- the execution id
-
getLifecyclePhase
public java.lang.String getLifecyclePhase()
- Returns:
- the lifecycle phase
-
getGoal
public java.lang.String getGoal()
- Returns:
- the lifecycle phase
-
getType
public MojoMessage.EventType getType()
- Returns:
- the type of event
-
-