public class NoUnboundElementsBindHandler extends AbstractBindHandler
BindHandler。ルート名のすべての構成プロパティがバインドされていることを強制します。DEFAULT| コンストラクターと説明 |
|---|
NoUnboundElementsBindHandler(BindHandler parent) |
NoUnboundElementsBindHandler(BindHandler parent, FunctionSE<ConfigurationPropertySource, BooleanSE> filter) |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | onFinish(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) バインドがバインド済みまたはバインドなしの結果で終了したときに呼び出されます。 |
ObjectSE | onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) 要素のバインディングが成功した結果で終了すると呼び出されます。 |
onFailure, onStartcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEonCreatepublic NoUnboundElementsBindHandler(BindHandler parent)
public NoUnboundElementsBindHandler(BindHandler parent, FunctionSE<ConfigurationPropertySource,BooleanSE> filter)
public ObjectSE onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result)
BindHandlerBindHandler 内の onSuccess AbstractBindHandler の onSuccess name - バインドされている要素の名前 target - バインドされているアイテム context - バインドコンテキスト result - バインドされた結果 (非 null)null の場合があります)public void onFinish(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) throws ExceptionSE
BindHandlerBindHandler.onFailure(org.springframework.boot.context.properties.source.ConfigurationPropertyName, org.springframework.boot.context.properties.bind.Bindable<?>, org.springframework.boot.context.properties.bind.BindContext, java.lang.Exception) から結果を取得した場合でも、バインディングが失敗した場合、このメソッドは呼び出されません。BindHandler 内の onFinish AbstractBindHandler の onFinish name - バインドされている要素の名前 target - バインドされているアイテム context - バインドコンテキスト result - バインドされた結果 (null の場合があります)ExceptionSE - バインディングが有効でない場合 Copyright © 2019 Pivotal Software, Inc.. All rights reserved.