Class DeploymentExpiryConfigBuilder
- java.lang.Object
-
- com.atlassian.bamboo.deployments.expiry.DeploymentExpiryConfigBuilder
-
public class DeploymentExpiryConfigBuilder extends Object
-
-
Constructor Summary
Constructors Constructor Description DeploymentExpiryConfigBuilder()
DeploymentExpiryConfigBuilder(@NotNull DeploymentExpiryConfig deploymentExpiryConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull DeploymentExpiryConfig
build()
DeploymentExpiryConfigBuilder
withAnyDeploymentsToKeep(int deploymentsToKeep)
DeploymentExpiryConfigBuilder
withDeploymentsToKeep(int deploymentsToKeep)
DeploymentExpiryConfigBuilder
withExpiryDisabled()
DeploymentExpiryConfigBuilder
withExpiryEnabled()
DeploymentExpiryConfigBuilder
withExpiryPeriod(@NotNull org.joda.time.Period expiryPeriod)
DeploymentExpiryConfigBuilder
withExpiryType(DeploymentExpiryType expiryType)
DeploymentExpiryConfigBuilder
withExpiryTypes(@NotNull Iterable<DeploymentExpiryType> expiryTypes)
DeploymentExpiryConfigBuilder
withMaxIgnoredLogSize(long maxIgnoredLogSize)
DeploymentExpiryConfigBuilder
withNoExpiryTypes()
-
-
-
Constructor Detail
-
DeploymentExpiryConfigBuilder
public DeploymentExpiryConfigBuilder()
-
DeploymentExpiryConfigBuilder
public DeploymentExpiryConfigBuilder(@NotNull @NotNull DeploymentExpiryConfig deploymentExpiryConfig)
-
-
Method Detail
-
withExpiryEnabled
public DeploymentExpiryConfigBuilder withExpiryEnabled()
-
withExpiryDisabled
public DeploymentExpiryConfigBuilder withExpiryDisabled()
-
withExpiryType
public DeploymentExpiryConfigBuilder withExpiryType(DeploymentExpiryType expiryType)
-
withExpiryTypes
public DeploymentExpiryConfigBuilder withExpiryTypes(@NotNull @NotNull Iterable<DeploymentExpiryType> expiryTypes)
-
withNoExpiryTypes
public DeploymentExpiryConfigBuilder withNoExpiryTypes()
-
withExpiryPeriod
public DeploymentExpiryConfigBuilder withExpiryPeriod(@NotNull @NotNull org.joda.time.Period expiryPeriod)
-
withDeploymentsToKeep
public DeploymentExpiryConfigBuilder withDeploymentsToKeep(int deploymentsToKeep)
-
withAnyDeploymentsToKeep
public DeploymentExpiryConfigBuilder withAnyDeploymentsToKeep(int deploymentsToKeep)
-
withMaxIgnoredLogSize
public DeploymentExpiryConfigBuilder withMaxIgnoredLogSize(long maxIgnoredLogSize)
-
build
@NotNull public @NotNull DeploymentExpiryConfig build()
-
-