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.
Constructor and Description |
---|
NodeVersionInfo(java.lang.String releaseVersion,
java.lang.String revision,
int platformVersion,
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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
component1()
The release version string of the node,
|
java.lang.String |
component2()
The git commit hash this node was built from
|
int |
component3()
The platform version of this node,
|
java.lang.String |
component4()
The vendor of this node
|
NodeVersionInfo |
copy(java.lang.String releaseVersion,
java.lang.String revision,
int platformVersion,
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.
|
boolean |
equals(java.lang.Object p) |
int |
getPlatformVersion()
The platform version of this node,
|
java.lang.String |
getReleaseVersion()
The release version string of the node,
|
java.lang.String |
getRevision()
The git commit hash this node was built from
|
java.lang.String |
getVendor()
The vendor of this node
|
int |
hashCode() |
java.lang.String |
toString() |
public NodeVersionInfo(java.lang.String releaseVersion, java.lang.String revision, int platformVersion, 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 nodereleaseVersion
- 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 nodepublic java.lang.String getReleaseVersion()
The release version string of the node,
e.g. 4.3, 4.4-SNAPSHOT.
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.
public java.lang.String getVendor()
The vendor of this node
public java.lang.String component1()
The release version string of the node,
e.g. 4.3, 4.4-SNAPSHOT.
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.
public java.lang.String component4()
The vendor of this node
public NodeVersionInfo copy(java.lang.String releaseVersion, java.lang.String revision, int platformVersion, 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 nodepublic java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)