public static enum ConfigMapping.NamingStrategy extends Enum<ConfigMapping.NamingStrategy>
| Enum Constant and Description |
|---|
KEBAB_CASE
The method name is derived by replacing case changes with a dash to map the configuration property.
|
SNAKE_CASE
The method name is derived by replacing case changes with an underscore to map the configuration property.
|
VERBATIM
The method name is used as is to map the configuration property.
|
| Modifier and Type | Method and Description |
|---|---|
static ConfigMapping.NamingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigMapping.NamingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigMapping.NamingStrategy VERBATIM
public static final ConfigMapping.NamingStrategy KEBAB_CASE
public static final ConfigMapping.NamingStrategy SNAKE_CASE
public static ConfigMapping.NamingStrategy[] values()
for (ConfigMapping.NamingStrategy c : ConfigMapping.NamingStrategy.values()) System.out.println(c);
public static ConfigMapping.NamingStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018–2021. All rights reserved.