Class NodeCredentialsFingerprintFacet

    • Constructor Detail

      • NodeCredentialsFingerprintFacet

        public NodeCredentialsFingerprintFacet​(@NonNull
                                               Node node,
                                               Fingerprint fingerprint,
                                               long timestamp)
        Constructor.
        Parameters:
        node - the node
        fingerprint - Fingerprint object to which this facet is going to be added to.
        timestamp - timestamp when the use happened (milliseconds since midnight Jan 1, 1970 UTC).
      • NodeCredentialsFingerprintFacet

        public NodeCredentialsFingerprintFacet​(@NonNull
                                               Node node,
                                               Fingerprint fingerprint,
                                               long timestamp0,
                                               long timestamp)
        Constructor.
        Parameters:
        node - the node
        fingerprint - Fingerprint object to which this facet is going to be added to.
        timestamp0 - timestamp when the first usage happened.
        timestamp - timestamp when the use happened (milliseconds since midnight Jan 1, 1970 UTC).
    • Method Detail

      • getNode

        @CheckForNull
        public Node getNode()
        Returns the Node.
        Returns:
        the Node or null if either the node no longer exists or the current authentication does not have permission to access the node.
      • getTimestamp0

        public long getTimestamp0()
        Returns the timestamp of first usage.
        Returns:
        the timestamp of first usage.
      • getTimestampString

        public String getTimestampString()
        Returns the timestamp range as a string.
        Returns:
        the timestamp range as a string.