Enum Class Session.SessionState

java.lang.Object
java.lang.Enum<Session.SessionState>
com.sas.lsaf.execution.session.Session.SessionState
All Implemented Interfaces:
Serializable, Comparable<Session.SessionState>, Constable
Enclosing class:
Session

public static enum Session.SessionState extends Enum<Session.SessionState>
The session state enumeration that describes the state of a session.
  • Enum Constant Details

    • IDLE

      public static final Session.SessionState IDLE
      The session is available for code execution.
    • ACTIVE

      public static final Session.SessionState ACTIVE
      The code is currently executing.
    • ENDED

      public static final Session.SessionState ENDED
      The session is ended, and not available for code execution. Session artifacts still exist.
    • ENDING

      public static final Session.SessionState ENDING
      The end session action has been called and is in the process of ending.
    • BROKEN

      public static final Session.SessionState BROKEN
      The session is in an invalid state. It is not available for code execution. Session artifacts might still exist.
  • Method Details

    • values

      public static Session.SessionState[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Session.SessionState valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null