Class SessionMessage
java.lang.Object
org.codehaus.plexus.build.connect.messages.Message
org.codehaus.plexus.build.connect.messages.SessionMessage
Event that is received / send when a session starts/end
-
Constructor Summary
ConstructorsConstructorDescriptionSessionMessage(org.apache.maven.execution.MavenSession session, boolean start) Creates a new session message -
Method Summary
Methods inherited from class Message
decode, equals, getBooleanProperty, getBooleanProperty, getProperty, getProperty, getSessionId, hashCode, keys, replyTo, serialize, serialize, toString
-
Constructor Details
-
SessionMessage
public SessionMessage(org.apache.maven.execution.MavenSession session, boolean start) Creates a new session message- Parameters:
session- the session to usestart-trueif it is a start of the session orfalseif it is the end of a session
-
-
Method Details
-
isSessionStart
public boolean isSessionStart()- Returns:
trueif this is a session start event
-
getExecutionRootDirectory
- Returns:
- the value of the ExecutionRootDirectory of this session
-