Class ProjectMessage
- java.lang.Object
-
- org.codehaus.plexus.build.connect.messages.Message
-
- org.codehaus.plexus.build.connect.messages.ProjectMessage
-
public class ProjectMessage extends Message
Send to inform about project changes
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProjectMessage.EventTypeDescribe the type of the event
-
Constructor Summary
Constructors Constructor Description ProjectMessage(org.apache.maven.project.MavenProject mavenProject, org.apache.maven.execution.ExecutionEvent.Type eventtype)Constructs a new event based on project and type
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetArtifactId()java.nio.file.PathgetBaseDir()java.lang.StringgetGroupId()ProjectMessage.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 of the project
-
getArtifactId
public java.lang.String getArtifactId()
- Returns:
- the artifact id of the project
-
getVersion
public java.lang.String getVersion()
- Returns:
- the version of the project
-
getBaseDir
public java.nio.file.Path getBaseDir()
- Returns:
- the basedir of the project
-
getType
public ProjectMessage.EventType getType()
- Returns:
- the type of the event
-
-