Package jenkins.security
Class ApiTokenProperty.TokenInfoAndStats
- java.lang.Object
-
- jenkins.security.ApiTokenProperty.TokenInfoAndStats
-
- Enclosing class:
- ApiTokenProperty
@Immutable @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static class ApiTokenProperty.TokenInfoAndStats extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Date
creationDate
boolean
isLegacy
Date
lastUseDate
String
name
long
numDaysCreation
long
numDaysUse
int
useCounter
String
uuid
-
Constructor Summary
Constructors Constructor Description TokenInfoAndStats(ApiTokenStore.HashedToken token, ApiTokenStats.SingleTokenStats stats)
-
-
-
Field Detail
-
uuid
public final String uuid
-
name
public final String name
-
creationDate
public final Date creationDate
-
numDaysCreation
public final long numDaysCreation
-
isLegacy
public final boolean isLegacy
-
useCounter
public final int useCounter
-
lastUseDate
public final Date lastUseDate
-
numDaysUse
public final long numDaysUse
-
-
Constructor Detail
-
TokenInfoAndStats
public TokenInfoAndStats(@NonNull ApiTokenStore.HashedToken token, @NonNull ApiTokenStats.SingleTokenStats stats)
-
-