クラスの使用
org.springframework.boot.context.properties.source.ConfigurationPropertyName
ConfigurationPropertyName を使用するパッケージ
パッケージ
説明
外部構成プロパティのサポート。
@ConfigurationProperties バインディングのサポート。 一般的な
BindHandler 実装。 バインディング検証のサポート。
外部構成プロパティのソース。
org.springframework.boot.context.config 内の ConfigurationPropertyName 使用
修飾子と型メソッド説明InvalidConfigDataPropertyException.getReplacement()代わりに使用する必要がある置換プロパティを返します。置換が利用できない場合はnullを返します。org.springframework.boot.context.properties 内の ConfigurationPropertyName 使用
型 ConfigurationPropertyName の引数を持つ型を返す org.springframework.boot.context.properties のメソッド型 ConfigurationPropertyName のパラメーターを持つ org.springframework.boot.context.properties のメソッド修飾子と型メソッド説明BoundConfigurationProperties.get(ConfigurationPropertyName name) 指定された名前にバインドされた構成プロパティを取得します。org.springframework.boot.context.properties.bind 内の ConfigurationPropertyName 使用
型 ConfigurationPropertyName のパラメーターを持つ org.springframework.boot.context.properties.bind のメソッド修飾子と型メソッド説明<T> BindResult<T>Binder.bind(ConfigurationPropertyName name, Bindable<T> target) このバインダーのproperty sourcesを使用して、指定されたターゲットBindableをバインドします。<T> BindResult<T>Binder.bind(ConfigurationPropertyName name, Bindable<T> target, BindHandler handler) このバインダーのproperty sourcesを使用して、指定されたターゲットBindableをバインドします。<T> TBinder.bindOrCreate(ConfigurationPropertyName name, Bindable<T> target, BindHandler handler) このバインダーのproperty sourcesを使用して指定されたターゲットBindableをバインドするか、バインドの結果がnullの場合、Bindableの型を使用して新しいインスタンスを作成します。default ObjectSEBindHandler.onCreate(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) 要素のバインドがバインドされていない結果で終了し、新しく作成されたインスタンスが返されるときに呼び出されます。AbstractBindHandler.onFailure(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ExceptionSE error) default ObjectSEBindHandler.onFailure(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ExceptionSE error) バインドが何らかの理由で失敗した場合に呼び出されます(BindHandler.onSuccess(org.springframework.boot.context.properties.source.ConfigurationPropertyName, org.springframework.boot.context.properties.bind.Bindable<?>, org.springframework.boot.context.properties.bind.BindContext, java.lang.Object)またはBindHandler.onCreate(org.springframework.boot.context.properties.source.ConfigurationPropertyName, org.springframework.boot.context.properties.bind.Bindable<?>, org.springframework.boot.context.properties.bind.BindContext, java.lang.Object)呼び出しからの失敗を含む)。voidAbstractBindHandler.onFinish(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) default voidBindHandler.onFinish(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) バインドがバインド済みまたはバインドなしの結果で終了したときに呼び出されます。<T> Bindable<T>AbstractBindHandler.onStart(ConfigurationPropertyName name, Bindable<T> target, BindContext context) default <T> Bindable<T>BindHandler.onStart(ConfigurationPropertyName name, Bindable<T> target, BindContext context) 要素のバインドが開始されたときに、結果が決定される前に呼び出されます。AbstractBindHandler.onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) default ObjectSEBindHandler.onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) 要素のバインディングが成功した結果で終了すると呼び出されます。BoundPropertiesTrackingBindHandler.onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) org.springframework.boot.context.properties.bind.handler 内の ConfigurationPropertyName 使用
型 ConfigurationPropertyName のパラメーターを持つ org.springframework.boot.context.properties.bind.handler のメソッド修飾子と型メソッド説明IgnoreErrorsBindHandler.onFailure(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ExceptionSE error) IgnoreTopLevelConverterNotFoundBindHandler.onFailure(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ExceptionSE error) NoUnboundElementsBindHandler.onFailure(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ExceptionSE error) voidNoUnboundElementsBindHandler.onFinish(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) <T> Bindable<T>NoUnboundElementsBindHandler.onStart(ConfigurationPropertyName name, Bindable<T> target, BindContext context) NoUnboundElementsBindHandler.onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) org.springframework.boot.context.properties.bind.validation 内の ConfigurationPropertyName 使用
型 ConfigurationPropertyName のパラメーターを持つ org.springframework.boot.context.properties.bind.validation のメソッド修飾子と型メソッド説明ValidationBindHandler.onFailure(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ExceptionSE error) voidValidationBindHandler.onFinish(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) <T> Bindable<T>ValidationBindHandler.onStart(ConfigurationPropertyName name, Bindable<T> target, BindContext context) ValidationBindHandler.onSuccess(ConfigurationPropertyName name, Bindable<?> target, BindContext context, ObjectSE result) org.springframework.boot.context.properties.source 内の ConfigurationPropertyName 使用
ConfigurationPropertyName として宣言されている org.springframework.boot.context.properties.source のフィールド修飾子と型メソッド説明static ConfigurationPropertyNameConfigurationPropertyName.adapt(CharSequenceSE name, char separator) 指定されたソースを調整してConfigurationPropertyNameを作成します。指定されたサフィックスを追加して、新しいConfigurationPropertyNameを作成します。ConfigurationPropertyName.append(ConfigurationPropertyName suffix) 指定されたサフィックスを追加して、新しいConfigurationPropertyNameを作成します。ConfigurationPropertyName.chop(int size) この名前を指定されたsizeにチョップして、新しいConfigurationPropertyNameを返します。ConfigurationProperty.getName()構成プロパティの名前を返します。ConfigurationPropertyNameAliases.getNameForAlias(ConfigurationPropertyName alias) ConfigurationPropertyName.getParent()親がない場合は、このConfigurationPropertyNameまたはEMPTYの親を返します。static ConfigurationPropertyNameConfigurationPropertyName.of(CharSequenceSE name) 指定された文字列のConfigurationPropertyNameを返します。static ConfigurationPropertyNameConfigurationPropertyName.ofIfValid(CharSequenceSE name) 指定された文字列のConfigurationPropertyNameを返します。名前が無効な場合はnullを返します。ConfigurationPropertyName.subName(int offset) 特定の要素インデックスによってオフセットされたこの名前に基づいて、新しいConfigurationPropertyNameを返します。型 ConfigurationPropertyName の引数を持つ型を返す org.springframework.boot.context.properties.source のメソッド修飾子と型メソッド説明ConfigurationPropertyNameAliases.getAliases(ConfigurationPropertyName name) ConfigurationPropertyNameAliases.iterator()default IteratorSE<ConfigurationPropertyName>IterableConfigurationPropertySource.iterator()このソースが管理するnamesのイテレータを返します。MapConfigurationPropertySource.iterator()IterableConfigurationPropertySource.stream()このソースが管理するnamesの順次Streamを返します。MapConfigurationPropertySource.stream()型 ConfigurationPropertyName のパラメーターを持つ org.springframework.boot.context.properties.source のメソッド修飾子と型メソッド説明voidConfigurationPropertyNameAliases.addAliases(ConfigurationPropertyName name, ConfigurationPropertyName... aliases) ConfigurationPropertyName.append(ConfigurationPropertyName suffix) 指定されたサフィックスを追加して、新しいConfigurationPropertyNameを作成します。intConfigurationPropertyName.compareTo(ConfigurationPropertyName other) default ConfigurationPropertyStateConfigurationPropertySource.containsDescendantOf(ConfigurationPropertyName name) ソースに指定された名前の子孫が含まれているかどうかを返します。default ConfigurationPropertyStateIterableConfigurationPropertySource.containsDescendantOf(ConfigurationPropertyName name) ConfigurationPropertyNameAliases.getAliases(ConfigurationPropertyName name) ConfigurationPropertySource.getConfigurationProperty(ConfigurationPropertyName name) プロパティが見つからない場合は、ソースまたはnullから単一のConfigurationPropertyを返します。MapConfigurationPropertySource.getConfigurationProperty(ConfigurationPropertyName name) ConfigurationPropertyNameAliases.getNameForAlias(ConfigurationPropertyName alias) booleanConfigurationPropertyName.isAncestorOf(ConfigurationPropertyName name) この要素が指定された名前の祖先(直接またはネストされた親)である場合、trueを返します。booleanConfigurationPropertyName.isParentOf(ConfigurationPropertyName name) この要素が指定した名前の直接の親である場合、trueを返します。型 ConfigurationPropertyName の型引数を持つ org.springframework.boot.context.properties.source のメソッドパラメーター修飾子と型メソッド説明default ConfigurationPropertySourceConfigurationPropertySource.filter(PredicateSE<ConfigurationPropertyName> filter) 指定されたPredicateSE に一致する名前のみを含む、このソースのフィルター処理されたバリアントを返します。IterableConfigurationPropertySource.filter(PredicateSE<ConfigurationPropertyName> filter) 型 ConfigurationPropertyName のパラメーターを持つ org.springframework.boot.context.properties.source のコンストラクター修飾子コンストラクター説明ConfigurationProperty(ConfigurationPropertyName name, ObjectSE value, Origin origin)