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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
contains
(ConfigData.Option option) Returns if the given option is contained in this set.boolean
int
hashCode()
static ConfigData.Options
of
(ConfigData.Option... options) Create a new instance with the givenConfigData.Option
values.toString()
with
(ConfigData.Option option) Create a newConfigData.Options
instance that contains the options in this set including the given option.without
(ConfigData.Option option) Create a newConfigData.Options
instance 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:
true
of the option is present
-
equals
-
hashCode
public int hashCode() -
toString
-
without
Create a newConfigData.Options
instance that contains the options in this set excluding the given option.- Parameters:
option
- the option to exclude- Returns:
- a new
ConfigData.Options
instance
-
with
Create a newConfigData.Options
instance that contains the options in this set including the given option.- Parameters:
option
- the option to include- Returns:
- a new
ConfigData.Options
instance
-
of
Create a new instance with the givenConfigData.Option
values.- Parameters:
options
- the options to include- Returns:
- a new
ConfigData.Options
instance
-