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