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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
MINIMUM_DEPLOYMENTS_TO_KEEP
static long
REMOVE_ALL_LOGS
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
getAnyDeploymentsToKeep()
int
getDeploymentsToKeep()
org.joda.time.Period
getExpiryPeriod()
@NotNull Set<DeploymentExpiryType>
getExpiryTypes()
long
getMaxIgnoredLogSize()
int
hashCode()
boolean
isExpiryEnabled()
boolean
shouldExpireDeploymentResultLogs()
boolean
shouldExpireDeploymentResults()
boolean
shouldExpireDeploymentVersionArtifacts()
boolean
shouldExpireDeploymentVersions()
String
toString()
-
-
-
Field Detail
-
REMOVE_ALL_LOGS
public static final long REMOVE_ALL_LOGS
- See Also:
- Constant Field Values
-
MINIMUM_DEPLOYMENTS_TO_KEEP
public static final int MINIMUM_DEPLOYMENTS_TO_KEEP
- See Also:
- Constant Field Values
-
-
Method Detail
-
isExpiryEnabled
public boolean isExpiryEnabled()
-
getExpiryTypes
@NotNull public @NotNull Set<DeploymentExpiryType> getExpiryTypes()
-
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()
-
-