クラス PropertySourceOrigin
java.lang.ObjectSE
org.springframework.boot.origin.PropertySourceOrigin
- 実装されているすべてのインターフェース:
Origin
PropertySource から Origin。- 導入:
- 2.0.0
- 作成者:
- Phillip Webb
コンストラクターの概要
コンストラクターコンストラクター説明PropertySourceOrigin(PropertySource<?> propertySource, StringSE propertyName) 新しいPropertySourceOriginインスタンスを作成します。メソッドのサマリー
修飾子と型メソッド説明static Originget(PropertySource<?> propertySource, StringSE name) property sourceから元の値を取得するときに使用されたプロパティ名を返します。原点PropertySourceを返します。toString()
コンストラクターの詳細
PropertySourceOrigin
新しいPropertySourceOriginインスタンスを作成します。- パラメーター:
propertySource- プロパティソースpropertyName- プロパティソースからの名前
メソッドの詳細
getPropertySource
原点PropertySourceを返します。- 戻り値:
- オリジンプロパティソース
getPropertyName
property sourceから元の値を取得するときに使用されたプロパティ名を返します。- 戻り値:
- オリジンプロパティ名
toString
get
指定されたPropertySourceおよびpropertyNameのOriginを取得します。OriginLookup結果またはPropertySourceOriginのいずれかを返します。- パラメーター:
propertySource- オリジンプロパティソースname- プロパティ名- 戻り値:
- プロパティの起源