public class NodeCredentialsFingerprintFacet extends AbstractCredentialsFingerprintFacet
Node.| Constructor and Description |
|---|
NodeCredentialsFingerprintFacet(hudson.model.Node node,
hudson.model.Fingerprint fingerprint,
long timestamp)
Constructor.
|
NodeCredentialsFingerprintFacet(hudson.model.Node node,
hudson.model.Fingerprint fingerprint,
long timestamp0,
long timestamp)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
hudson.model.Node |
getNode()
Returns the
Node. |
String |
getNodeName()
Returns the
Node.getNodeName(). |
long |
getTimestamp0()
Returns the timestamp of first usage.
|
String |
getTimestampString()
Returns the timestamp range as a string.
|
int |
hashCode() |
public NodeCredentialsFingerprintFacet(@NonNull
hudson.model.Node node,
hudson.model.Fingerprint fingerprint,
long timestamp)
node - the nodefingerprint - 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).public NodeCredentialsFingerprintFacet(@NonNull
hudson.model.Node node,
hudson.model.Fingerprint fingerprint,
long timestamp0,
long timestamp)
node - the nodefingerprint - 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).@NonNull public String getNodeName()
Node.getNodeName().Node.getNodeName().@CheckForNull public hudson.model.Node getNode()
Node.Node or null if either the node no longer exists or the current authentication
does not have permission to access the node.public long getTimestamp0()
public String getTimestampString()
public boolean equals(Object o)
equals in class AbstractCredentialsFingerprintFacetpublic int hashCode()
hashCode in class AbstractCredentialsFingerprintFacetCopyright © 2016–2017. All rights reserved.