Package io.cucumber.messages.types
Enum TestStepResult.Status
- java.lang.Object
-
- java.lang.Enum<TestStepResult.Status>
-
- io.cucumber.messages.types.TestStepResult.Status
-
- All Implemented Interfaces:
Serializable,Comparable<TestStepResult.Status>
- Enclosing class:
- TestStepResult
public static enum TestStepResult.Status extends Enum<TestStepResult.Status>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TestStepResult.StatusfromValue(String value)StringtoString()Stringvalue()static TestStepResult.StatusvalueOf(String name)Returns the enum constant of this type with the specified name.static TestStepResult.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final TestStepResult.Status UNKNOWN
-
PASSED
public static final TestStepResult.Status PASSED
-
SKIPPED
public static final TestStepResult.Status SKIPPED
-
PENDING
public static final TestStepResult.Status PENDING
-
UNDEFINED
public static final TestStepResult.Status UNDEFINED
-
AMBIGUOUS
public static final TestStepResult.Status AMBIGUOUS
-
FAILED
public static final TestStepResult.Status FAILED
-
-
Method Detail
-
values
public static TestStepResult.Status[] 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 (TestStepResult.Status c : TestStepResult.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestStepResult.Status 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<TestStepResult.Status>
-
value
public String value()
-
fromValue
public static TestStepResult.Status fromValue(String value)
-
-