public class ItemCredentialsFingerprintFacet extends AbstractCredentialsFingerprintFacet
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
ItemCredentialsFingerprintFacet(Item item,
Fingerprint fingerprint,
long timestamp)
Constructor.
|
ItemCredentialsFingerprintFacet(Item item,
Fingerprint fingerprint,
long timestamp0,
long timestamp)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Item |
getItem()
Returns the
Item. |
String |
getItemFullName()
Returns the
Item.getFullName(). |
long |
getTimestamp0()
Returns the timestamp of first usage.
|
String |
getTimestampString()
Returns the timestamp range as a string.
|
int |
hashCode() |
_setOwner, createActions, getFingerprint, getTimestamppublic ItemCredentialsFingerprintFacet(@NonNull
Item item,
@NonNull
Fingerprint fingerprint,
long timestamp)
item - the itemfingerprint - 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 ItemCredentialsFingerprintFacet(@NonNull
Item item,
@NonNull
Fingerprint fingerprint,
long timestamp0,
long timestamp)
item - the itemfingerprint - 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 getItemFullName()
Item.getFullName().Item.getFullName().@CheckForNull public Item getItem()
Item.Item or null if either the item no longer exists or the current authentication
does not have permission to access the item.public long getTimestamp0()
public String getTimestampString()
public boolean equals(Object o)
equals in class AbstractCredentialsFingerprintFacetpublic int hashCode()
hashCode in class AbstractCredentialsFingerprintFacetCopyright © 2016–2021. All rights reserved.