public static enum ConfigDiscoveryConfiguration.Format extends Enum<ConfigDiscoveryConfiguration.Format>
Enum Constant and Description |
---|
FILE
Each value in the configuration server represents the name of a file and the contents of the file.
|
JSON
Stored in JSON format.
|
NATIVE
Stored in the native format provided by the configuration server.
|
PROPERTIES
Stored in Java properties file format.
|
YAML
Stored in YAML format.
|
Modifier and Type | Method and Description |
---|---|
static ConfigDiscoveryConfiguration.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigDiscoveryConfiguration.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigDiscoveryConfiguration.Format YAML
public static final ConfigDiscoveryConfiguration.Format JSON
public static final ConfigDiscoveryConfiguration.Format PROPERTIES
public static final ConfigDiscoveryConfiguration.Format NATIVE
public static final ConfigDiscoveryConfiguration.Format FILE
public static ConfigDiscoveryConfiguration.Format[] values()
for (ConfigDiscoveryConfiguration.Format c : ConfigDiscoveryConfiguration.Format.values()) System.out.println(c);
public static ConfigDiscoveryConfiguration.Format 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