枚举类的使用
org.springframework.boot.context.properties.bind.BindMethod
使用BindMethod的程序包
程序包
说明
Support for
@ConfigurationProperties
binding.-
org.springframework.boot.context.properties.bind中BindMethod的使用
修饰符和类型方法说明Bindable.getBindMethod()
Returns themethod
to be used to bind this bindable, ornull
if no specific binding method is required.static BindMethod
返回带有指定名称的该类的枚举常量。static BindMethod[]
BindMethod.values()
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同修饰符和类型方法说明Bindable.withBindMethod
(BindMethod bindMethod) Create an updatedBindable
instance with a specific bind method.