Class RestCombinedExpiryConfiguration
java.lang.Object
com.atlassian.bamboo.rest.model.admin.build.RestCombinedExpiryConfiguration
-
Constructor Summary
ConstructorDescriptionRestCombinedExpiryConfiguration
(@NotNull BuildExpiryConfig buildExpiryConfig, @NotNull DeploymentExpiryConfig deploymentExpiryConfig) -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
int
long
boolean
boolean
boolean
void
setBuildsToKeep
(int buildsToKeep) void
setCronExpression
(String cronExpression) void
setDeploymentsToKeep
(int deploymentsToKeep) void
setDuration
(int duration) void
setExpireArtifacts
(boolean expireArtifacts) void
setExpireLogs
(boolean expireLogs) void
setExpireResults
(boolean expireResults) void
setLabelsToExclude
(String labelsToExclude) void
setMaximumBuildsToKeep
(int maximumBuildsToKeep) void
setMaximumIgnoredLogSize
(long maximumIgnoredLogSize) void
@NotNull BuildExpiryConfig
@NotNull DeploymentExpiryConfig
-
Constructor Details
-
RestCombinedExpiryConfiguration
public RestCombinedExpiryConfiguration() -
RestCombinedExpiryConfiguration
public RestCombinedExpiryConfiguration(@NotNull @NotNull BuildExpiryConfig buildExpiryConfig, @NotNull @NotNull DeploymentExpiryConfig deploymentExpiryConfig)
-
-
Method Details
-
toBuildExpiryConfig
-
toDeploymentExpiryConfig
-
getDuration
public int getDuration() -
setDuration
public void setDuration(int duration) -
getPeriod
-
setPeriod
-
getBuildsToKeep
public int getBuildsToKeep() -
setBuildsToKeep
public void setBuildsToKeep(int buildsToKeep) -
getDeploymentsToKeep
public int getDeploymentsToKeep() -
setDeploymentsToKeep
public void setDeploymentsToKeep(int deploymentsToKeep) -
getMaximumIgnoredLogSize
public long getMaximumIgnoredLogSize() -
setMaximumIgnoredLogSize
public void setMaximumIgnoredLogSize(long maximumIgnoredLogSize) -
isExpireResults
public boolean isExpireResults() -
setExpireResults
public void setExpireResults(boolean expireResults) -
isExpireArtifacts
public boolean isExpireArtifacts() -
setExpireArtifacts
public void setExpireArtifacts(boolean expireArtifacts) -
isExpireLogs
public boolean isExpireLogs() -
setExpireLogs
public void setExpireLogs(boolean expireLogs) -
getLabelsToExclude
-
setLabelsToExclude
-
getCronExpression
-
setCronExpression
-
getMaximumBuildsToKeep
public int getMaximumBuildsToKeep() -
setMaximumBuildsToKeep
public void setMaximumBuildsToKeep(int maximumBuildsToKeep)
-