クラス GitProperties
java.lang.ObjectSE
org.springframework.boot.info.InfoProperties
org.springframework.boot.info.GitProperties
- 実装されているすべてのインターフェース:
IterableSE<InfoProperties.Entry>
@ImportRuntimeHints(org.springframework.boot.info.GitProperties.GitPropertiesRuntimeHints.class)
public class GitProperties
extends InfoProperties
コミット ID や時間などの git 関連の情報を提供します。
- 導入:
- 1.4.0
- 作成者:
- Stephane Nicoll
ネストされたクラスの要約
クラス InfoProperties から継承されたネストクラス / インターフェース
InfoProperties.Entryコンストラクターの概要
コンストラクター方法の概要
クラス InfoProperties から継承されたメソッド
get, getInstant, iterator, toPropertySourceクラス ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース IterableSE から継承されたメソッド
forEachSE, spliterator
コンストラクターの詳細
GitProperties
メソッドの詳細
getBranch
getCommitId
getShortCommitId
getCommitTime
コミットのタイムスタンプまたはnullを返します。元の値を適切に解析できなかった場合でも、
commit.timeキーで利用できます。- 戻り値:
- コミット時間
- 関連事項: