クラス 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キーで利用できます。- 戻り値:
- ビルド時間
- 関連事項: