public class AboutController
extends java.lang.Object
| Constructor and Description |
|---|
AboutController(NodeRPCConnection connection)
Create the about controller by the RPC connection.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCommitId()
Get the commit id of the github of the hive node.
|
NodeVersion |
getNodeVersion()
Get the version of the hive node.
|
public AboutController(NodeRPCConnection connection)
connection - The connection instance.public NodeVersion getNodeVersion() throws HiveException
HiveException - The exception shows the error from the request.public java.lang.String getCommitId()
throws HiveException
HiveException - The exception shows the error from the request.