Enum Class SessionClosedReason

java.lang.Object
java.lang.Enum<SessionClosedReason>
org.openqa.selenium.grid.data.SessionClosedReason
All Implemented Interfaces:
Serializable, Comparable<SessionClosedReason>, Constable

public enum SessionClosedReason extends Enum<SessionClosedReason>
  • Enum Constant Details

    • QUIT_COMMAND

      public static final SessionClosedReason QUIT_COMMAND
      Session was closed normally via QUIT command from client
    • TIMEOUT

      public static final SessionClosedReason TIMEOUT
      Session timed out due to inactivity
    • NODE_REMOVED

      public static final SessionClosedReason NODE_REMOVED
      Node was removed from the grid
    • NODE_RESTARTED

      public static final SessionClosedReason NODE_RESTARTED
      Node was restarted
  • Method Details

    • values

      public static SessionClosedReason[] 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 SessionClosedReason 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
    • getReasonText

      public String getReasonText()