类 ConfigData.Options
java.lang.Object
org.springframework.boot.context.config.ConfigData.Options
- 封闭类:
ConfigData
A set of
ConfigData.Option
flags.- 从以下版本开始:
- 2.4.5
-
字段概要
字段 -
方法概要
修饰符和类型方法说明boolean
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.
-
字段详细资料
-
NONE
No options.
-
-
方法详细资料
-
contains
Returns if the given option is contained in this set.- 参数:
option
- the option to check- 返回:
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.- 参数:
option
- the option to exclude- 返回:
- a new
ConfigData.Options
instance
-
with
Create a newConfigData.Options
instance that contains the options in this set including the given option.- 参数:
option
- the option to include- 返回:
- a new
ConfigData.Options
instance
-
of
Create a new instance with the givenConfigData.Option
values.- 参数:
options
- the options to include- 返回:
- a new
ConfigData.Options
instance
-