Class ConfigData.Options
java.lang.Object
org.springframework.boot.context.config.ConfigData.Options
- Enclosing class:
- ConfigData
A set of 
ConfigData.Option flags.- Since:
- 2.4.5
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionbooleancontains(ConfigData.Option option) Returns if the given option is contained in this set.booleaninthashCode()static ConfigData.Optionsof(ConfigData.Option... options) Create a new instance with the givenConfigData.Optionvalues.toString()with(ConfigData.Option option) Create a newConfigData.Optionsinstance that contains the options in this set including the given option.without(ConfigData.Option option) Create a newConfigData.Optionsinstance that contains the options in this set excluding the given option.
- 
Field Details- 
NONENo options.
 
- 
- 
Method Details- 
containsReturns if the given option is contained in this set.- Parameters:
- option- the option to check
- Returns:
- trueof the option is present
 
- 
equals
- 
hashCodepublic int hashCode()
- 
toString
- 
withoutCreate a newConfigData.Optionsinstance that contains the options in this set excluding the given option.- Parameters:
- option- the option to exclude
- Returns:
- a new ConfigData.Optionsinstance
 
- 
withCreate a newConfigData.Optionsinstance that contains the options in this set including the given option.- Parameters:
- option- the option to include
- Returns:
- a new ConfigData.Optionsinstance
 
- 
ofCreate a new instance with the givenConfigData.Optionvalues.- Parameters:
- options- the options to include
- Returns:
- a new ConfigData.Optionsinstance
 
 
-