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.
  • Enum Constant Details

    • RAW

      The catalog that contains the raw keys.
    • NORMALIZED

      public static final PropertySourcePropertyResolver.PropertyCatalog NORMALIZED
      The catalog that contains normalized keys. A key is normalized into lower case hyphen separated form. For example an environment variable FOO_BAR would be normalized to foo.bar.
    • GENERATED

      public static final PropertySourcePropertyResolver.PropertyCatalog GENERATED
      The catalog that contains normalized keys and also generated keys. A synthetic key can be generated from an environment variable such as FOO_BAR_BAZ which will produce the following keys: foo.bar.baz, foo.bar-baz, and foo-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 name
      NullPointerException - if the argument is null