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 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object