public class ItemCredentialsFingerprintFacet extends AbstractCredentialsFingerprintFacet
| Constructor and Description |
|---|
ItemCredentialsFingerprintFacet(hudson.model.Item item,
hudson.model.Fingerprint fingerprint,
long timestamp)
Constructor.
|
ItemCredentialsFingerprintFacet(hudson.model.Item item,
hudson.model.Fingerprint fingerprint,
long timestamp0,
long timestamp)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
hudson.model.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() |
public ItemCredentialsFingerprintFacet(@NonNull
hudson.model.Item item,
@NonNull
hudson.model.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
hudson.model.Item item,
@NonNull
hudson.model.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 hudson.model.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–2017. All rights reserved.