クラス GitInfoContributor
java.lang.ObjectSE
org.springframework.boot.actuate.info.InfoPropertiesInfoContributor<GitProperties>
org.springframework.boot.actuate.info.GitInfoContributor
- 実装されたすべてのインターフェース:
InfoContributor
@ImportRuntimeHints(org.springframework.boot.actuate.info.GitInfoContributor.GitInfoContributorRuntimeHints.class)
public class GitInfoContributor
extends InfoPropertiesInfoContributor<GitProperties>
GitProperties
を公開する InfoContributor
。- 導入:
- 1.4.0
- 作成者:
- Stephane Nicoll
ネストされたクラスのサマリー
クラス org.springframework.boot.actuate.info.InfoPropertiesInfoContributor から継承されたネストクラス / インターフェース
InfoPropertiesInfoContributor.Mode
コンストラクターのサマリー
コンストラクターコンストラクター説明GitInfoContributor
(GitProperties properties) GitInfoContributor
(GitProperties properties, InfoPropertiesInfoContributor.Mode mode) 方法の概要
修飾子と型メソッド説明void
contribute
(Info.Builder builder) 指定されたBuilder
を使用して追加の詳細を提供します。protected void
postProcessContent
(MapSE<StringSE, ObjectSE> content) 公開するコンテンツを後処理します。protected PropertySource<?>
SIMPLE
モードのPropertySource
を返します。クラス org.springframework.boot.actuate.info.InfoPropertiesInfoContributor から継承されたメソッド
copyIfSet, extractContent, generateContent, getMode, getNestedMap, getProperties, replaceValue, toPropertySource
コンストラクターの詳細
GitInfoContributor
GitInfoContributor
メソッドの詳細
contribute
インターフェースからコピーされた説明:InfoContributor
指定されたBuilder
を使用して追加の詳細を提供します。- パラメーター:
builder
- 使用するビルダー
toSimplePropertySource
クラスからコピーされた説明:InfoPropertiesInfoContributor
SIMPLE
モードのPropertySource
を返します。- 次で指定:
- クラス
InfoPropertiesInfoContributor<GitProperties>
のtoSimplePropertySource
- 戻り値:
- 単純なモデルのプロパティソース
- 関連事項:
postProcessContent
公開するコンテンツを後処理します。デフォルトでは、日付を表す既知のキーがInstant
SE インスタンスに変換されます。- オーバーライド:
- クラス
InfoPropertiesInfoContributor<GitProperties>
のpostProcessContent
- パラメーター:
content
- 公開するコンテンツ