Enum ComposableStepDto.StepUsage
- java.lang.Object
-
- java.lang.Enum<ComposableStepDto.StepUsage>
-
- com.chutneytesting.component.scenario.api.dto.ComposableStepDto.StepUsage
-
- All Implemented Interfaces:
Serializable,Comparable<ComposableStepDto.StepUsage>
- Enclosing interface:
- ComposableStepDto
public static enum ComposableStepDto.StepUsage extends Enum<ComposableStepDto.StepUsage>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ComposableStepDto.StepUsagevalueOf(String name)Returns the enum constant of this type with the specified name.static ComposableStepDto.StepUsage[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STEP
public static final ComposableStepDto.StepUsage STEP
-
GIVEN
public static final ComposableStepDto.StepUsage GIVEN
-
WHEN
public static final ComposableStepDto.StepUsage WHEN
-
THEN
public static final ComposableStepDto.StepUsage THEN
-
-
Method Detail
-
values
public static ComposableStepDto.StepUsage[] 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 (ComposableStepDto.StepUsage c : ComposableStepDto.StepUsage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ComposableStepDto.StepUsage 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
-
-