Class SessionMessage


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

      • 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 Detail

      • isSessionStart

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

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