Package org.graylog2.plugin.system
Class SimpleNodeId
java.lang.Object
org.graylog2.plugin.system.NodeId
org.graylog2.plugin.system.SimpleNodeId
- Record Components:
nodeId
- This is the actual ID. It's expected to be in the UID format, but it's not enforced anyhow now.
This is a simple record holding the ID only. All logic is provided by the
NodeId
interface.
Notice that the class is package-protected and integrations won't be able to create own instances. This
is most likely not an issue, as typical use case is to let the server inject the NodeId instance.-
Constructor Summary
-
Method Summary
Methods inherited from class org.graylog2.plugin.system.NodeId
anonymize, getShortNodeId, toEscapedString, toUnescapedString
-
Constructor Details
-
SimpleNodeId
-
-
Method Details
-
getNodeId
-
toString
This method is kept for compatibility reasons. Some integrations may rely on the toString call returning the actual node ID.- Overrides:
toString
in classObject
- Returns:
- the node ID, same value as the
getNodeId()
call.
-