public class GitProperties extends InfoProperties
InfoProperties.Entry
コンストラクターと説明 |
---|
GitProperties(PropertiesSE entries) |
修飾子と型 | メソッドと説明 |
---|---|
StringSE | getBranch() ブランチまたは null の名前を返します。 |
StringSE | getCommitId() コミットの完全 ID または null を返します。 |
InstantSE | getCommitTime() コミットのタイムスタンプまたは null を返します。 |
StringSE | getShortCommitId() コミットの省略 ID または null を返します。 |
get, getInstant, iterator, toPropertySource
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
forEachSE, spliteratorSE
public GitProperties(PropertiesSE entries)
public StringSE getBranch()
null
の名前を返します。public StringSE getCommitId()
null
を返します。public StringSE getShortCommitId()
null
を返します。public InstantSE getCommitTime()
null
を返します。 元の値を適切に解析できなかった場合でも、commit.time
キーで利用できます。
InfoProperties.get(String)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.