public static enum PropertySource.PropertyConvention extends Enum<PropertySource.PropertyConvention>
Enum Constant and Description |
---|
ENVIRONMENT_VARIABLE
Upper case separated by under scores (environment variable style).
|
JAVA_PROPERTIES
Lower case separated by dots (java properties file style).
|
Modifier and Type | Method and Description |
---|---|
static PropertySource.PropertyConvention |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertySource.PropertyConvention[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertySource.PropertyConvention ENVIRONMENT_VARIABLE
public static final PropertySource.PropertyConvention JAVA_PROPERTIES
public static PropertySource.PropertyConvention[] values()
for (PropertySource.PropertyConvention c : PropertySource.PropertyConvention.values()) System.out.println(c);
public static PropertySource.PropertyConvention 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