Package io.micronaut.context.env
Enum Class PropertySourcePropertyResolver.PropertyCatalog
java.lang.Object
java.lang.Enum<PropertySourcePropertyResolver.PropertyCatalog>
io.micronaut.context.env.PropertySourcePropertyResolver.PropertyCatalog
- All Implemented Interfaces:
Serializable
,Comparable<PropertySourcePropertyResolver.PropertyCatalog>
,Constable
- Enclosing class:
- PropertySourcePropertyResolver
protected static enum PropertySourcePropertyResolver.PropertyCatalog
extends Enum<PropertySourcePropertyResolver.PropertyCatalog>
The property catalog to use.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe catalog that contains normalized keys and also generated keys.The catalog that contains normalized keys.The catalog that contains the raw keys. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RAW
The catalog that contains the raw keys. -
NORMALIZED
The catalog that contains normalized keys. A key is normalized into lower case hyphen separated form. For example an environment variableFOO_BAR
would be normalized tofoo.bar
. -
GENERATED
The catalog that contains normalized keys and also generated keys. A synthetic key can be generated from an environment variable such asFOO_BAR_BAZ
which will produce the following keys:foo.bar.baz
,foo.bar-baz
, andfoo-bar.baz
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-