Class SpringBatchVersion

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

public final class SpringBatchVersion extends Object
Class that exposes the Spring Batch version. Fetches the "Implementation-Version" manifest attribute from the jar file.

Note that some ClassLoaders do not expose the package metadata, hence this class might not be able to determine the Spring Batch version in all environments.

Since:
5.0
Author:
Mahmoud Ben Hassine
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 6.1, scheduled for removal in 7.0.
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    Return the full version string of the present Spring Batch codebase, or "N/A" if it cannot be determined.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait