Class DeploymentExpiryConfig

java.lang.Object
com.atlassian.bamboo.deployments.expiry.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:
  • Field Details

  • Method Details

    • isExpiryEnabled

      public boolean isExpiryEnabled()
    • getExpiryTypes

      @NotNull public @NotNull Set<DeploymentExpiryType> getExpiryTypes()
    • getExpiryPeriod

      public Period getExpiryPeriod()
    • getPeriodString

      @Nullable protected @Nullable String getPeriodString()
    • getPeriodUnit

      public String getPeriodUnit()
    • getDuration

      public int getDuration()
    • 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()
    • 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