Class DeploymentExpiryConfigBuilder
java.lang.Object
com.atlassian.bamboo.deployments.expiry.DeploymentExpiryConfigBuilder
-
Constructor Summary
ConstructorDescriptionDeploymentExpiryConfigBuilder
(@NotNull DeploymentExpiryConfig deploymentExpiryConfig) -
Method Summary
Modifier and TypeMethodDescription@NotNull DeploymentExpiryConfig
build()
withAnyDeploymentsToKeep
(int deploymentsToKeep) withDeploymentsToKeep
(int deploymentsToKeep) withDuration
(int duration) withExpiryType
(DeploymentExpiryType expiryType) withExpiryTypes
(@NotNull Iterable<DeploymentExpiryType> expiryTypes) withMaxIgnoredLogSize
(long maxIgnoredLogSize) withPeriodUnit
(String periodUnit)
-
Constructor Details
-
DeploymentExpiryConfigBuilder
public DeploymentExpiryConfigBuilder() -
DeploymentExpiryConfigBuilder
public DeploymentExpiryConfigBuilder(@NotNull @NotNull DeploymentExpiryConfig deploymentExpiryConfig)
-
-
Method Details
-
withExpiryEnabled
-
withExpiryDisabled
-
withExpiryType
-
withExpiryTypes
public DeploymentExpiryConfigBuilder withExpiryTypes(@NotNull @NotNull Iterable<DeploymentExpiryType> expiryTypes) -
withNoExpiryTypes
-
withPeriodUnit
-
withDuration
-
withDeploymentsToKeep
-
withAnyDeploymentsToKeep
-
withMaxIgnoredLogSize
-
build
-