Enum Class Stage

java.lang.Object
java.lang.Enum<Stage>
io.qameta.allure.model.Stage
All Implemented Interfaces:
Serializable, Comparable<Stage>, Constable

public enum Stage extends Enum<Stage>
Test stages.
Since:
2.0
  • Enum Constant Details

    • SCHEDULED

      public static final Stage SCHEDULED
      Scheduled stage.
    • RUNNING

      public static final Stage RUNNING
      Running stage.
    • FINISHED

      public static final Stage FINISHED
      Finished stage.
    • PENDING

      public static final Stage PENDING
      Pending stage.
    • INTERRUPTED

      public static final Stage INTERRUPTED
      Interrupted stage.
  • Method Details

    • values

      public static Stage[] 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 Stage 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
    • fromValue

      public static Stage fromValue(String v)
      From value stage.
      Parameters:
      v - the v
      Returns:
      the stage
    • value

      public String value()
      Value string.
      Returns:
      the string