com.hazelcast.instance

## Class BuildInfoProvider

- java.lang.Object
- - com.hazelcast.instance.BuildInfoProvider

-     public final class BuildInfoProvider
      extends Object

  Provides information about current Hazelcast build.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `HAZELCAST_INTERNAL_OVERRIDE_ENTERPRISE`
    `static String` | `HAZELCAST_INTERNAL_OVERRIDE_VERSION`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static BuildInfo` | `getBuildInfo()` Parses `hazelcast-runtime.properties` for `BuildInfo`; also checks for overrides in System.properties.

    - ### Methods inherited from class java.lang.Object

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

- - ### Field Detail

    - #### HAZELCAST_INTERNAL_OVERRIDE_VERSION

          public static final String HAZELCAST_INTERNAL_OVERRIDE_VERSION

      See Also:
        Constant Field Values

    - #### HAZELCAST_INTERNAL_OVERRIDE_ENTERPRISE

          public static final String HAZELCAST_INTERNAL_OVERRIDE_ENTERPRISE

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### getBuildInfo

          public static BuildInfo getBuildInfo()

      Parses `hazelcast-runtime.properties` for `BuildInfo`; also checks for overrides in System.properties. Never cache result of this method in a static context - as it can change due versions overriding - this method already does caching whenever it's possible - i.e. when overrides is disabled.
      Returns:
        the parsed BuildInfo

Copyright © 2018. All rights reserved.