クラス SpringBatchVersion

java.lang.ObjectSE
org.springframework.batch.core.SpringBatchVersion

public final class SpringBatchVersion extends ObjectSE
Spring Batch バージョンを公開するクラス。jar ファイルから "Implementation-Version" マニフェスト属性を取得します。

一部の ClassLoaders はパッケージメタデータを公開しないことに注意してください。このクラスはすべての環境で Spring Batch のバージョンを判別できない場合があります。

導入:
5.0
作成者:
Mahmoud Ben Hassine
  • フィールドサマリー

    フィールド
    修飾子と型
    フィールド
    説明
    static final StringSE
    バッチバージョンの実行コンテキストで使用するキー。
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    static StringSE
    現在の Spring Batch コードベースの完全なバージョン文字列、または判別できない場合は "N/A" を返します。

    クラス java.lang.ObjectSE から継承されたメソッド

    clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
  • フィールドの詳細

    • BATCH_VERSION_KEY

      public static final StringSE BATCH_VERSION_KEY
      バッチバージョンの実行コンテキストで使用するキー。
      関連事項:
  • メソッドの詳細

    • getVersion

      @Nullable public static StringSE getVersion()
      現在の Spring Batch コードベースの完全なバージョン文字列、または判別できない場合は "N/A" を返します。
      関連事項: