Class SessionMessage

java.lang.Object
org.codehaus.plexus.build.connect.messages.Message
org.codehaus.plexus.build.connect.messages.SessionMessage

public class SessionMessage extends Message
Event that is received / send when a session starts/end
  • Constructor Details

    • SessionMessage

      public SessionMessage(org.apache.maven.execution.MavenSession session, boolean start)
      Creates a new session message
      Parameters:
      session - the session to use
      start - true if it is a start of the session or false if it is the end of a session
  • Method Details

    • isSessionStart

      public boolean isSessionStart()
      Returns:
      true if this is a session start event
    • getExecutionRootDirectory

      public String getExecutionRootDirectory()
      Returns:
      the value of the ExecutionRootDirectory of this session