クラス 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
ネストされたクラスの要約
クラス InfoPropertiesInfoContributor から継承されたネストクラス / インターフェース
InfoPropertiesInfoContributor.Modeコンストラクターの概要
コンストラクターコンストラクター説明GitInfoContributor(GitProperties properties) GitInfoContributor(GitProperties properties, InfoPropertiesInfoContributor.Mode mode) 方法の概要
修飾子と型メソッド説明voidcontribute(Info.Builder builder) 指定されたBuilderを使用して追加の詳細を提供します。protected voidpostProcessContent(MapSE<StringSE, ObjectSE> content) 公開するコンテンツを後処理します。protected PropertySource<?> SIMPLEモードのPropertySourceを返します。
コンストラクターの詳細
GitInfoContributor
GitInfoContributor
メソッドの詳細
contribute
toSimplePropertySource
クラスからコピーされた説明:InfoPropertiesInfoContributorSIMPLEモードのPropertySourceを返します。- 次で指定:
- クラス
InfoPropertiesInfoContributor<GitProperties>のtoSimplePropertySource - 戻り値:
- 単純なモデルのプロパティソース
- 関連事項:
postProcessContent
公開するコンテンツを後処理します。デフォルトでは、日付を表す既知のキーがInstantSE インスタンスに変換されます。- オーバーライド:
- クラス
InfoPropertiesInfoContributor<GitProperties>のpostProcessContent - パラメーター:
content- 公開するコンテンツ