Enum Constant and Description |
---|
AND
Represents repetition of previous step
|
GIVEN
Represents a precondition to an event
|
IGNORABLE
Represents an ignorable step
|
THEN
Represents an outcome of an event
|
WHEN
Represents an event
|
Modifier and Type | Method and Description |
---|---|
static StepType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StepType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StepType GIVEN
public static final StepType WHEN
public static final StepType THEN
public static final StepType AND
public static final StepType IGNORABLE
public static StepType[] values()
for (StepType c : StepType.values()) System.out.println(c);
public static StepType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2003-2014. All Rights Reserved.