Class DeploymentExpiryConfig
java.lang.Object
com.atlassian.bamboo.deployments.expiry.DeploymentExpiryConfig
- All Implemented Interfaces:
Serializable
An immutable class representing deployment expiry configuration.
Ideally this should be in bamboo-deployments but AdministrationConfiguration depends on this object.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final long
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
int
int
@NotNull Set<DeploymentExpiryType>
long
protected @Nullable String
int
hashCode()
boolean
boolean
boolean
boolean
boolean
toString()
-
Field Details
-
REMOVE_ALL_LOGS
public static final long REMOVE_ALL_LOGS- See Also:
-
MINIMUM_DEPLOYMENTS_TO_KEEP
public static final int MINIMUM_DEPLOYMENTS_TO_KEEP- See Also:
-
-
Method Details
-
isExpiryEnabled
public boolean isExpiryEnabled() -
getExpiryTypes
-
getExpiryPeriod
-
getPeriodString
-
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
-
hashCode
public int hashCode() -
toString
-