public class NodeVersionInfo
Version info about the node. Note that this data should be used for diagnostics purposes only - it is unsafe to rely on this for functional decisions.
public NodeVersionInfo(@NotNull java.lang.String releaseVersion, @NotNull java.lang.String revision, int platformVersion, @NotNull java.lang.String vendor)
Version info about the node. Note that this data should be used for diagnostics purposes only - it is unsafe to rely on this for functional decisions.
releaseVersion
- The release version string of the node, e.g. 4.3, 4.4-SNAPSHOT.revision
- The git commit hash this node was built fromplatformVersion
- The platform version of this node, representing the released API version.vendor
- The vendor of this node@NotNull public java.lang.String getReleaseVersion()
The release version string of the node,
e.g. 4.3, 4.4-SNAPSHOT.
@NotNull public java.lang.String getRevision()
The git commit hash this node was built from
public int getPlatformVersion()
The platform version of this node,
representing the released API version.
@NotNull public java.lang.String getVendor()
The vendor of this node
@NotNull public java.lang.String component1()
The release version string of the node,
e.g. 4.3, 4.4-SNAPSHOT.
@NotNull public java.lang.String component2()
The git commit hash this node was built from
public int component3()
The platform version of this node,
representing the released API version.
@NotNull public java.lang.String component4()
The vendor of this node
@NotNull public NodeVersionInfo copy(@NotNull java.lang.String releaseVersion, @NotNull java.lang.String revision, int platformVersion, @NotNull java.lang.String vendor)
Version info about the node. Note that this data should be used for diagnostics purposes only - it is unsafe to rely on this for functional decisions.
releaseVersion
- The release version string of the node, e.g. 4.3, 4.4-SNAPSHOT.revision
- The git commit hash this node was built fromplatformVersion
- The platform version of this node, representing the released API version.vendor
- The vendor of this node@NotNull public java.lang.String toString()
Version info about the node. Note that this data should be used for diagnostics purposes only - it is unsafe to rely on this for functional decisions.
public int hashCode()
Version info about the node. Note that this data should be used for diagnostics purposes only - it is unsafe to rely on this for functional decisions.
public boolean equals(@Nullable java.lang.Object p)
Version info about the node. Note that this data should be used for diagnostics purposes only - it is unsafe to rely on this for functional decisions.