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
- Author:
- Phillip Webb, Madhura Bhave
-
Field Summary
Fields -
Method Summary
Modifier 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
-
NONE
No options.
-
-
Method Details
-
contains
Returns if the given option is contained in this set.- Parameters:
option- the option to check- Returns:
trueof the option is present
-
equals
-
hashCode
-
toString
-
without
Create 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
-
with
Create 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
-
of
Create a new instance with the givenConfigData.Optionvalues.- Parameters:
options- the options to include- Returns:
- a new
ConfigData.Optionsinstance
-