Enum Class ConfigData.Option

java.lang.Object
java.lang.Enum<ConfigData.Option>
org.springframework.boot.context.config.ConfigData.Option
All Implemented Interfaces:
Serializable, Comparable<ConfigData.Option>, Constable
Enclosing class:
ConfigData

public static enum ConfigData.Option extends Enum<ConfigData.Option>
Option flags that can be applied.
  • Enum Constant Details

    • IGNORE_IMPORTS

      public static final ConfigData.Option IGNORE_IMPORTS
      Ignore all imports properties from the source.
    • IGNORE_PROFILES

      public static final ConfigData.Option IGNORE_PROFILES
      Ignore all profile activation and include properties.
      Since:
      2.4.3
    • PROFILE_SPECIFIC

      public static final ConfigData.Option PROFILE_SPECIFIC
      Indicates that the source is "profile specific" and should be included after profile specific sibling imports.
      Since:
      2.4.5
  • Method Details

    • values

      public static ConfigData.Option[] 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

      public static ConfigData.Option valueOf(String name)
      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