Enum Class ItemStatus

java.lang.Object
java.lang.Enum<ItemStatus>
ru.testit.models.ItemStatus
All Implemented Interfaces:
Serializable, Comparable<ItemStatus>, Constable

public enum ItemStatus extends Enum<ItemStatus>
Item statuses.
  • Enum Constant Details

    • PASSED

      public static final ItemStatus PASSED
      Marks passed tests.
    • FAILED

      public static final ItemStatus FAILED
      Marks tests that have some failed checks.
    • SKIPPED

      public static final ItemStatus SKIPPED
      Marks skipped tests.
    • INPROGRESS

      public static final ItemStatus INPROGRESS
      Marks in progress tests.
    • BLOCKED

      public static final ItemStatus BLOCKED
      Marks in blocked tests.
  • Method Details

    • values

      public static ItemStatus[] 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 ItemStatus 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
    • value

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