Package org.restheart
Class Version
- java.lang.Object
-
- org.restheart.Version
-
public class Version extends Object
- Author:
- Andrea Di Cesare
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstantgetBuildTime()the RESTHEart build time is read from the JAR's MANIFEST.MF file, which is automatically generated by the Maven build processstatic VersiongetInstance()StringgetVersion()the RESTHEart version is read from the JAR's MANIFEST.MF file, which is automatically generated by the Maven build process
-
-
-
Method Detail
-
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
-
-