public enum StepKind extends Enum<StepKind>
| Enum Constant and Description |
|---|
GIVEN
A given.
|
THEN
A then.
|
UNKNOWN
Unknown step type.
|
WHEN
A when.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toGherkin()
Return the gherkin representation of the keyword, in english.
|
static StepKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StepKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StepKind UNKNOWN
public static final StepKind GIVEN
public static final StepKind WHEN
public static final StepKind THEN
public static StepKind[] values()
for (StepKind c : StepKind.values()) System.out.println(c);
public static StepKind valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toGherkin()
Created by Kornél Simon, 2022