Class BuildVersion

java.lang.Object
com.apple.foundationdb.relational.util.BuildVersion

@API(EXPERIMENTAL) public final class BuildVersion extends Object
Hosts the content of the version.properties file written by the build into a generated file 'versions.properties' in the fdb-relational-api module. Contents of file look like this: # Generated by fdb-relational-api build. name=fdb-relational-layer version=22.10.10.7be747b-SNAPSHOT gitHash=7be747b148b5089c4bf57cf3c87513a1ee1b1e2e branch=api url='https://github.com/FoundationDB/fdb-record-layer/' user=stack buildtime=2022-10-11T04:59:47.480946Z Below are accessors for the content and some utility methods to get major or minor parts of version string. Obtain the singleton instance by calling getInstance()}
  • Method Details