Class DeploymentExpiryConfig

  • All Implemented Interfaces:
    Serializable

    public class DeploymentExpiryConfig
    extends Object
    implements Serializable
    An immutable class representing deployment expiry configuration.

    Ideally this should be in bamboo-deployments but AdministrationConfiguration depends on this object.

    See Also:
    Serialized Form
    • Method Detail

      • isExpiryEnabled

        public boolean isExpiryEnabled()
      • getExpiryPeriod

        public org.joda.time.Period getExpiryPeriod()
      • getDeploymentsToKeep

        public int getDeploymentsToKeep()
      • getAnyDeploymentsToKeep

        public int getAnyDeploymentsToKeep()
      • getMaxIgnoredLogSize

        public long getMaxIgnoredLogSize()
      • shouldExpireDeploymentResultLogs

        public boolean shouldExpireDeploymentResultLogs()
      • shouldExpireDeploymentResults

        public boolean shouldExpireDeploymentResults()
      • shouldExpireDeploymentVersionArtifacts

        public boolean shouldExpireDeploymentVersionArtifacts()
      • shouldExpireDeploymentVersions

        public boolean shouldExpireDeploymentVersions()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object