public enum JsonAttributeFormat extends Enum<JsonAttributeFormat>
Enum Constant and Description |
---|
LEGACY |
SNAKE_CASE |
Modifier and Type | Field and Description |
---|---|
static JsonAttributeFormat |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
abstract String |
format(String attribute)
Returns a formatted rule attribute
|
static JsonAttributeFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonAttributeFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonAttributeFormat SNAKE_CASE
public static final JsonAttributeFormat LEGACY
public static final JsonAttributeFormat DEFAULT
public static JsonAttributeFormat[] values()
for (JsonAttributeFormat c : JsonAttributeFormat.values()) System.out.println(c);
public static JsonAttributeFormat 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 null