クラス BuildProperties
java.lang.ObjectSE
org.springframework.boot.info.InfoProperties
org.springframework.boot.info.BuildProperties
- 実装されたすべてのインターフェース:
IterableSE<InfoProperties.Entry>
@ImportRuntimeHints(org.springframework.boot.info.BuildProperties.BuildPropertiesRuntimeHints.class)
public class BuildProperties
extends InfoProperties
グループやアーティファクトなどのビルド関連情報を提供します。
- 導入:
- 1.4.0
- 作成者:
- Stephane Nicoll
ネストされたクラスのサマリー
クラス org.springframework.boot.info.InfoProperties から継承されたネストクラス / インターフェース
InfoProperties.Entry
コンストラクターのサマリー
コンストラクター方法の概要
クラス org.springframework.boot.info.InfoProperties から継承されたメソッド
get, getInstant, iterator, toPropertySource
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース java.lang.IterableSE から継承されたメソッド
forEachSE, spliterator
コンストラクターの詳細
BuildProperties
指定されたエントリでインスタンスを作成します。- パラメーター:
entries
- 公開する情報
メソッドの詳細
getGroup
プロジェクトの groupId またはnull
を返します。- 戻り値:
- グループ
getArtifact
プロジェクトの artifactId またはnull
を返します。- 戻り値:
- アーティファクト
getName
プロジェクトまたはnull
の名前を返します。- 戻り値:
- 名前
getVersion
プロジェクトまたはnull
のバージョンを返します。- 戻り値:
- バージョン
getTime
ビルドまたはnull
のタイムスタンプを返します。元の値を適切に解析できなかった場合でも、
time
キーで利用できます。- 戻り値:
- ビルド時間
- 関連事項: