Package org.restheart

Class Version

java.lang.Object
org.restheart.Version

public class Version extends Object
Author:
Andrea Di Cesare <andrea@softinstigate.com>
  • Method Details

    • getInstance

      public static Version getInstance()
      Returns:
      VersionHolder.INSTANCE
    • getVersion

      public String getVersion()
      the RESTHEart version is read from the JAR's MANIFEST.MF file, which is automatically generated by the Maven build process
      Returns:
      the version of RESTHeart or null if it is not packaged
    • getBuildTime

      public Instant getBuildTime()
      the RESTHEart build time is read from the JAR's MANIFEST.MF file, which is automatically generated by the Maven build process
      Returns:
      the build time defined in the MANIFEST.MF file, or now if it is not packaged