@FunctionalInterfaceSE public interface ConfigurationPropertySource
ConfigurationProperties のソース。ConfigurationPropertyName, OriginTrackedValue, getConfigurationProperty(ConfigurationPropertyName)| 修飾子と型 | メソッドと説明 |
|---|---|
default ConfigurationPropertyState | containsDescendantOf(ConfigurationPropertyName name) ソースに指定された名前の子孫が含まれているかどうかを返します。 |
default ConfigurationPropertySource | filter(PredicateSE<ConfigurationPropertyName> filter) 指定された PredicateSE に一致する名前のみを含む、このソースのフィルター処理されたバリアントを返します。 |
ConfigurationProperty | getConfigurationProperty(ConfigurationPropertyName name) プロパティが見つからない場合は、ソースまたは null から単一の ConfigurationProperty を返します。 |
default ObjectSE | getUnderlyingSource() 実際にプロパティを提供している基になるソースを返します。 |
default ConfigurationPropertySource | withAliases(ConfigurationPropertyNameAliases aliases) 名前エイリアスをサポートするこのソースのバリアントを返します。 |
ConfigurationProperty getConfigurationProperty(ConfigurationPropertyName name)
null から単一の ConfigurationProperty を返します。name - プロパティの名前 (null であってはなりません)nulldefault ConfigurationPropertyState containsDescendantOf(ConfigurationPropertyName name)
ConfigurationPropertyState.PRESENT または ConfigurationPropertyState.ABSENT を、最終的な回答を決定できない場合は ConfigurationPropertyState.UNKNOWN を返す場合があります。name - チェックする名前 default ConfigurationPropertySource filter(PredicateSE<ConfigurationPropertyName> filter)
PredicateSE に一致する名前のみを含む、このソースのフィルター処理されたバリアントを返します。filter - 一致するフィルター ConfigurationPropertySource インスタンス default ConfigurationPropertySource withAliases(ConfigurationPropertyNameAliases aliases)
aliases - 任意の名前のエイリアスのストリームを返す関数 ConfigurationPropertySource インスタンス default ObjectSE getUnderlyingSource()
nullCopyright © 2019 Pivotal Software, Inc.. All rights reserved.