corda / net.corda.core.node.services.diagnostics / NodeVersionInfo

NodeVersionInfo

data 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.

Parameters

releaseVersion - The release version string of the node, e.g. 4.3, 4.4-SNAPSHOT.

revision - The git commit hash this node was built from

platformVersion - The platform version of this node, representing the released API version.

vendor - The vendor of this node

Constructors

<init>

NodeVersionInfo(releaseVersion: String, revision: String, platformVersion: Int, vendor: String)

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.

Properties

platformVersion

val platformVersion: Int

The platform version of this node, representing the released API version.

releaseVersion

val releaseVersion: String

The release version string of the node, e.g. 4.3, 4.4-SNAPSHOT.

revision

val revision: String

The git commit hash this node was built from

vendor

val vendor: String

The vendor of this node

Extension Functions

contextLogger

fun Any.contextLogger(): <ERROR CLASS>

When called from a companion object, returns the logger for the enclosing class.