Class PersonalAccessTokensExpirationConfiguration
java.lang.Object
com.atlassian.bamboo.configuration.PersonalAccessTokensExpirationConfiguration
- All Implemented Interfaces:
Serializable
@Immutable
public class PersonalAccessTokensExpirationConfiguration
extends Object
implements Serializable
Configuration for personal access token expiration.
- Since:
- 9.4
- See Also:
-
Constructor Summary
ConstructorDescriptionPersonalAccessTokensExpirationConfiguration
(boolean expirationRequired, int maxDaysUntilExpiry) -
Method Summary
-
Constructor Details
-
PersonalAccessTokensExpirationConfiguration
public PersonalAccessTokensExpirationConfiguration() -
PersonalAccessTokensExpirationConfiguration
public PersonalAccessTokensExpirationConfiguration(boolean expirationRequired, int maxDaysUntilExpiry)
-
-
Method Details
-
isExpirationRequired
public boolean isExpirationRequired()- Returns:
- true if personal access token expiration is required, false otherwise
-
getMaxDaysUntilExpiry
public int getMaxDaysUntilExpiry()- Returns:
- the maximum number of days until expiry for personal access tokens
-
equals
-
hashCode
public int hashCode() -
toString
-