public enum EnumDefinitionExtensionType extends Enum<EnumDefinitionExtensionType>
Enum Constant and Description |
---|
CUSTOM
Enum defined by JSON Schema and a custom jsonschema2pojo extension,
defined by custom
EnumRule implementation provided by custom RuleFactory . |
JAVA_ENUM_NAMES
Enum defined by JSON Schema and javaEnumNames jsonschema2pojo extension.
|
JAVA_ENUMS
Enum defined by JSON Schema and javaEnums jsonschema2pojo extension.
|
NONE
Enum defined just by JSON Schema
|
Modifier and Type | Method and Description |
---|---|
static EnumDefinitionExtensionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumDefinitionExtensionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumDefinitionExtensionType NONE
public static final EnumDefinitionExtensionType JAVA_ENUM_NAMES
public static final EnumDefinitionExtensionType JAVA_ENUMS
public static final EnumDefinitionExtensionType CUSTOM
EnumRule
implementation provided by custom RuleFactory
.public static EnumDefinitionExtensionType[] values()
for (EnumDefinitionExtensionType c : EnumDefinitionExtensionType.values()) System.out.println(c);
public static EnumDefinitionExtensionType 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 © 2022. All rights reserved.