Enum Class ScenarioStatus

java.lang.Object
java.lang.Enum<ScenarioStatus>
de.qytera.qtaf.core.events.payload.ScenarioStatus
All Implemented Interfaces:
Serializable, Comparable<ScenarioStatus>, Constable

public enum ScenarioStatus extends Enum<ScenarioStatus>
All statuses a test scenario can assume.
  • Enum Constant Details

    • PENDING

      public static final ScenarioStatus PENDING
      A scenario that is still pending execution.
    • SUCCESS

      public static final ScenarioStatus SUCCESS
      The scenario run was successful.
    • FAILURE

      public static final ScenarioStatus FAILURE
      The scenario run resulted in errors.
    • SKIPPED

      public static final ScenarioStatus SKIPPED
      The scenario was skipped.
  • Method Details

    • values

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