public final class BuildInfoProvider extends Object
Modifier and Type | Field and Description |
---|---|
static BuildInfo |
BUILD_INFO
Use this in production code to obtain the BuildInfo already parsed when this class was first loaded.
|
static String |
HAZELCAST_INTERNAL_OVERRIDE_VERSION |
Modifier and Type | Method and Description |
---|---|
static BuildInfo |
getBuildInfo()
Parses
hazelcast-runtime.properties for BuildInfo ; also checks for overrides in System.properties. |
public static final BuildInfo BUILD_INFO
public static final String HAZELCAST_INTERNAL_OVERRIDE_VERSION
public static BuildInfo getBuildInfo()
hazelcast-runtime.properties
for BuildInfo
; also checks for overrides in System.properties.
Use this method to obtain and cache a BuildInfo
object or from test code that needs to re-parse properties
on each invocation.Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.