Package org.jbehave.core.steps
Enum StepResult.Type
- java.lang.Object
-
- java.lang.Enum<StepResult.Type>
-
- org.jbehave.core.steps.StepResult.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<StepResult.Type>
,java.lang.constant.Constable
- Enclosing interface:
- StepResult
public static enum StepResult.Type extends Enum<StepResult.Type>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMENT
FAILED
IGNORABLE
NOT_PERFORMED
PENDING
SILENT
SKIPPED
SUCCESSFUL
-
Method Summary
Modifier and Type Method Description static StepResult.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static StepResult.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FAILED
public static final StepResult.Type FAILED
-
NOT_PERFORMED
public static final StepResult.Type NOT_PERFORMED
-
PENDING
public static final StepResult.Type PENDING
-
SUCCESSFUL
public static final StepResult.Type SUCCESSFUL
-
SILENT
public static final StepResult.Type SILENT
-
IGNORABLE
public static final StepResult.Type IGNORABLE
-
COMMENT
public static final StepResult.Type COMMENT
-
SKIPPED
public static final StepResult.Type SKIPPED
-
-
Method Detail
-
values
public static StepResult.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StepResult.Type 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
-
-