com.hazelcast.instance

## Class BuildInfo

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

-     public class BuildInfo
      extends Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static int` | `UNKNOWN_HAZELCAST_VERSION`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `BuildInfo(String version, String build, String revision, int buildNumber, boolean enterprise, byte serializationVersion)`
    `BuildInfo(String version, String build, String revision, int buildNumber, boolean enterprise, byte serializationVersion, BuildInfo upstreamBuildInfo)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static int` | `calculateVersion(String version)`
    `String` | `getBuild()`
    `int` | `getBuildNumber()`
    `JetBuildInfo` | `getJetBuildInfo()`
    `String` | `getRevision()`
    `byte` | `getSerializationVersion()`
    `BuildInfo` | `getUpstreamBuildInfo()`
    `String` | `getVersion()`
    `boolean` | `isEnterprise()`
    `String` | `toString()`

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

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

- - ### Field Detail

    - #### UNKNOWN_HAZELCAST_VERSION

          public static final int UNKNOWN_HAZELCAST_VERSION

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### BuildInfo

          public BuildInfo(String version,
                           String build,
                           String revision,
                           int buildNumber,
                           boolean enterprise,
                           byte serializationVersion)

    - #### BuildInfo

          public BuildInfo(String version,
                           String build,
                           String revision,
                           int buildNumber,
                           boolean enterprise,
                           byte serializationVersion,
                           BuildInfo upstreamBuildInfo)

  - ### Method Detail

    - #### getRevision

          public String getRevision()

    - #### getVersion

          public String getVersion()

    - #### getBuild

          public String getBuild()

    - #### getBuildNumber

          public int getBuildNumber()

    - #### isEnterprise

          public boolean isEnterprise()

    - #### getSerializationVersion

          public byte getSerializationVersion()

    - #### getUpstreamBuildInfo

          public BuildInfo getUpstreamBuildInfo()

    - #### getJetBuildInfo

          public JetBuildInfo getJetBuildInfo()

      Returns:
        `JetBuildInfo` if Hazelcast Jet is used, `null` otherwise

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### calculateVersion

          public static int calculateVersion(String version)

Copyright © 2019. All rights reserved.