クラス 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
  • コンストラクターの詳細

    • BuildProperties

      public BuildProperties(PropertiesSE entries)
      指定されたエントリでインスタンスを作成します。
      パラメーター:
      entries - 公開する情報
  • メソッドの詳細

    • getGroup

      public StringSE getGroup()
      プロジェクトまたは null の groupId を返します。
      戻り値:
      グループ
    • getArtifact

      public StringSE getArtifact()
      プロジェクトまたは null の artifactId を返します。
      戻り値:
      アーティファクト
    • getName

      public StringSE getName()
      プロジェクトまたは null の名前を返します。
      戻り値:
      名前
    • getVersion

      public StringSE getVersion()
      プロジェクトまたは null のバージョンを返します。
      戻り値:
      バージョン
    • getTime

      public InstantSE getTime()
      ビルドまたは null のタイムスタンプを返します。

      元の値を適切に解析できなかった場合でも、time キーで利用できます。

      戻り値:
      ビルド時間
      関連事項: