Package ru.testit.models
Enum Class ItemStatus
- All Implemented Interfaces:
Serializable,Comparable<ItemStatus>,Constable
Item statuses.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMarks in blocked tests.Marks tests that have some failed checks.Marks in progress tests.Marks passed tests.Marks skipped tests. -
Method Summary
Modifier and TypeMethodDescriptionvalue()Value string.static ItemStatusReturns the enum constant of this class with the specified name.static ItemStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PASSED
Marks passed tests. -
FAILED
Marks tests that have some failed checks. -
SKIPPED
Marks skipped tests. -
INPROGRESS
Marks in progress tests. -
BLOCKED
Marks in blocked tests.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
value
Value string.- Returns:
- the string
-