Package io.cucumber.messages.types
Enum TestStepResultStatus
- java.lang.Object
-
- java.lang.Enum<TestStepResultStatus>
-
- io.cucumber.messages.types.TestStepResultStatus
-
- All Implemented Interfaces:
Serializable,Comparable<TestStepResultStatus>
public enum TestStepResultStatus extends Enum<TestStepResultStatus>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TestStepResultStatusfromValue(String value)StringtoString()Stringvalue()static TestStepResultStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static TestStepResultStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final TestStepResultStatus UNKNOWN
-
PASSED
public static final TestStepResultStatus PASSED
-
SKIPPED
public static final TestStepResultStatus SKIPPED
-
PENDING
public static final TestStepResultStatus PENDING
-
UNDEFINED
public static final TestStepResultStatus UNDEFINED
-
AMBIGUOUS
public static final TestStepResultStatus AMBIGUOUS
-
FAILED
public static final TestStepResultStatus FAILED
-
-
Method Detail
-
values
public static TestStepResultStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TestStepResultStatus c : TestStepResultStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestStepResultStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<TestStepResultStatus>
-
value
public String value()
-
fromValue
public static TestStepResultStatus fromValue(String value)
-
-