クラス MapConfigurationPropertySource
java.lang.ObjectSE
org.springframework.boot.context.properties.source.MapConfigurationPropertySource
- 実装されているすべてのインターフェース:
IterableSE<ConfigurationPropertyName>, ConfigurationPropertySource, IterableConfigurationPropertySource
public class MapConfigurationPropertySource
extends ObjectSE
implements IterableConfigurationPropertySource
MapSE を基盤とし、標準の名前マッピングルールを使用する ConfigurationPropertySource。- 導入:
- 2.0.0
- 作成者:
- Phillip Webb, Madhura Bhave
コンストラクターの概要
コンストラクターコンストラクター説明新しい空のMapConfigurationPropertySourceインスタンスを作成します。MapConfigurationPropertySource(MapSE<?, ?> map) 指定されたマップからのエントリのコピーで新しいMapConfigurationPropertySourceインスタンスを作成します。方法の概要
修飾子と型メソッド説明@Nullable ConfigurationPropertyプロパティが見つからない場合は、ソースまたはnullから単一のConfigurationPropertyを返します。実際にプロパティを提供している基になるソースを返します。iterator()このソースが管理するnamesのイテレータを返します。void個別のエントリを追加します。void指定したマップからすべてのエントリを追加します。stream()このソースが管理するnamesの順次Streamを返します。クラス ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース IterableSE から継承されたメソッド
forEachSE, spliteratorインターフェース IterableConfigurationPropertySource から継承されたメソッド
containsDescendantOf, filter, withAliases, withPrefix
コンストラクターの詳細
MapConfigurationPropertySource
public MapConfigurationPropertySource()新しい空のMapConfigurationPropertySourceインスタンスを作成します。MapConfigurationPropertySource
指定されたマップからのエントリのコピーで新しいMapConfigurationPropertySourceインスタンスを作成します。- パラメーター:
map- ソースマップ
メソッドの詳細
putAll
put
getUnderlyingSource
インターフェースからコピーされた説明:ConfigurationPropertySource実際にプロパティを提供している基になるソースを返します。- 次で指定:
- インターフェース
ConfigurationPropertySourceのgetUnderlyingSource - 戻り値:
- 基になるプロパティソースまたは
null
getConfigurationProperty
インターフェースからコピーされた説明:ConfigurationPropertySourceプロパティが見つからない場合は、ソースまたはnullから単一のConfigurationPropertyを返します。- 次で指定:
- インターフェース
ConfigurationPropertySourceのgetConfigurationProperty - パラメーター:
name- プロパティの名前- 戻り値:
- 関連オブジェクトまたは
null
iterator
インターフェースからコピーされた説明:IterableConfigurationPropertySourceこのソースが管理するnamesのイテレータを返します。- 次で指定:
- インターフェース
IterableSE<ConfigurationPropertyName>のiterator - 次で指定:
- インターフェース
IterableConfigurationPropertySourceのiterator - 戻り値:
- イテレータ (非
null)
stream
インターフェースからコピーされた説明:IterableConfigurationPropertySourceこのソースが管理するnamesの順次Streamを返します。- 次で指定:
- インターフェース
IterableConfigurationPropertySourceのstream - 戻り値:
- 名前のストリーム (非
null)