Package org.azd.enums

Enum Class TestSessionState

java.lang.Object
java.lang.Enum<TestSessionState>
org.azd.enums.TestSessionState
All Implemented Interfaces:
Serializable, Comparable<TestSessionState>, Constable

public enum TestSessionState extends Enum<TestSessionState>
State of the test session
  • Enum Constant Details

    • COMPLETED

      public static final TestSessionState COMPLETED
      The session has completed.
    • DECLINED

      public static final TestSessionState DECLINED
      This is required for Feedback session which are declined
    • IN_PROGRESS

      public static final TestSessionState IN_PROGRESS
      The session is running.
    • NOT_STARTED

      public static final TestSessionState NOT_STARTED
      The session is still being created.
    • PAUSED

      public static final TestSessionState PAUSED
      The session has paused.
    • UNSPECIFIED

      public static final TestSessionState UNSPECIFIED
      Only used during an update to preserve the existing value.
  • Method Details

    • values

      public static TestSessionState[] 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 TestSessionState 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