Enum Class PropertySourcePropertyResolver.PropertyCatalog

All Implemented Interfaces:
Serializable, Comparable<PropertySourcePropertyResolver.PropertyCatalog>, Constable
Enclosing class:

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.

      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.

      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.
      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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null