Package kg.apc.jmeter.functions
Enum CaseFormat.CaseFormatMode
- java.lang.Object
-
- java.lang.Enum<CaseFormat.CaseFormatMode>
-
- kg.apc.jmeter.functions.CaseFormat.CaseFormatMode
-
- All Implemented Interfaces:
Serializable,Comparable<CaseFormat.CaseFormatMode>
- Enclosing class:
- CaseFormat
public static enum CaseFormat.CaseFormatMode extends Enum<CaseFormat.CaseFormatMode>
ChangeCase Modes Modes for different cases
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCaseFormat.CaseFormatMode.Holder
-
Enum Constant Summary
Enum Constants Enum Constant Description KEBAB_CASELISP_CASELOWER_CAMEL_CASELOWER_HYPHENLOWER_UNDERSCORESNAKE_CASESPINAL_CASETRAIN_CASEUPPER_CAMEL_CASEUPPER_UNDERSCORE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CaseFormat.CaseFormatModeget(String mode)Get CamelCaseMode by modeStringgetName()static CaseFormat.CaseFormatModevalueOf(String name)Returns the enum constant of this type with the specified name.static CaseFormat.CaseFormatMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UPPER_CAMEL_CASE
public static final CaseFormat.CaseFormatMode UPPER_CAMEL_CASE
-
LOWER_CAMEL_CASE
public static final CaseFormat.CaseFormatMode LOWER_CAMEL_CASE
-
SNAKE_CASE
public static final CaseFormat.CaseFormatMode SNAKE_CASE
-
LISP_CASE
public static final CaseFormat.CaseFormatMode LISP_CASE
-
KEBAB_CASE
public static final CaseFormat.CaseFormatMode KEBAB_CASE
-
SPINAL_CASE
public static final CaseFormat.CaseFormatMode SPINAL_CASE
-
LOWER_HYPHEN
public static final CaseFormat.CaseFormatMode LOWER_HYPHEN
-
LOWER_UNDERSCORE
public static final CaseFormat.CaseFormatMode LOWER_UNDERSCORE
-
UPPER_UNDERSCORE
public static final CaseFormat.CaseFormatMode UPPER_UNDERSCORE
-
TRAIN_CASE
public static final CaseFormat.CaseFormatMode TRAIN_CASE
-
-
Method Detail
-
values
public static CaseFormat.CaseFormatMode[] 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 (CaseFormat.CaseFormatMode c : CaseFormat.CaseFormatMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CaseFormat.CaseFormatMode 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
-
getName
public String getName()
-
get
public static CaseFormat.CaseFormatMode get(String mode)
Get CamelCaseMode by mode- Parameters:
mode-- Returns:
- relevant CamelCaseMode
-
-