Class ProjectMessage
java.lang.Object
org.codehaus.plexus.build.connect.messages.Message
org.codehaus.plexus.build.connect.messages.ProjectMessage
Send to inform about project changes
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDescribe the type of the event -
Constructor Summary
ConstructorsConstructorDescriptionProjectMessage(org.apache.maven.project.MavenProject mavenProject, org.apache.maven.execution.ExecutionEvent.Type eventtype) Constructs a new event based on project and type -
Method Summary
Methods inherited from class Message
decode, equals, getBooleanProperty, getBooleanProperty, getProperty, getProperty, getSessionId, hashCode, keys, replyTo, serialize, serialize, toString
-
Constructor Details
-
ProjectMessage
public ProjectMessage(org.apache.maven.project.MavenProject mavenProject, org.apache.maven.execution.ExecutionEvent.Type eventtype) Constructs a new event based on project and type- Parameters:
mavenProject-eventtype-
-
-
Method Details
-
getGroupId
- Returns:
- the group id of the project
-
getArtifactId
- Returns:
- the artifact id of the project
-
getVersion
- Returns:
- the version of the project
-
getBaseDir
- Returns:
- the basedir of the project
-
getType
- Returns:
- the type of the event
-