Package io.cucumber.testng
Enum CucumberOptions.SnippetType
- java.lang.Object
-
- java.lang.Enum<CucumberOptions.SnippetType>
-
- io.cucumber.testng.CucumberOptions.SnippetType
-
- All Implemented Interfaces:
Serializable
,Comparable<CucumberOptions.SnippetType>
- Enclosing class:
- CucumberOptions
public static enum CucumberOptions.SnippetType extends Enum<CucumberOptions.SnippetType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAMELCASE
UNDERSCORE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CucumberOptions.SnippetType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CucumberOptions.SnippetType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDERSCORE
public static final CucumberOptions.SnippetType UNDERSCORE
-
CAMELCASE
public static final CucumberOptions.SnippetType CAMELCASE
-
-
Method Detail
-
values
public static CucumberOptions.SnippetType[] 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 (CucumberOptions.SnippetType c : CucumberOptions.SnippetType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CucumberOptions.SnippetType 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
-
-