Class RestCombinedExpiryConfiguration
- java.lang.Object
-
- com.atlassian.bamboo.rest.model.admin.build.RestCombinedExpiryConfiguration
-
public class RestCombinedExpiryConfiguration extends Object
-
-
Constructor Summary
Constructors Constructor Description RestCombinedExpiryConfiguration()
RestCombinedExpiryConfiguration(@NotNull BuildExpiryConfig buildExpiryConfig, @NotNull DeploymentExpiryConfig deploymentExpiryConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBuildsToKeep()
String
getCronExpression()
int
getDeploymentsToKeep()
int
getDuration()
String
getLabelsToExclude()
int
getMaximumBuildsToKeep()
long
getMaximumIgnoredLogSize()
String
getPeriod()
boolean
isExpireArtifacts()
boolean
isExpireLogs()
boolean
isExpireResults()
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
setPeriod(String period)
@NotNull BuildExpiryConfig
toBuildExpiryConfig()
@NotNull DeploymentExpiryConfig
toDeploymentExpiryConfig()
-
-
-
Constructor Detail
-
RestCombinedExpiryConfiguration
public RestCombinedExpiryConfiguration()
-
RestCombinedExpiryConfiguration
public RestCombinedExpiryConfiguration(@NotNull @NotNull BuildExpiryConfig buildExpiryConfig, @NotNull @NotNull DeploymentExpiryConfig deploymentExpiryConfig)
-
-
Method Detail
-
toBuildExpiryConfig
@NotNull public @NotNull BuildExpiryConfig toBuildExpiryConfig()
-
toDeploymentExpiryConfig
@NotNull public @NotNull DeploymentExpiryConfig toDeploymentExpiryConfig()
-
getDuration
public int getDuration()
-
setDuration
public void setDuration(int duration)
-
getPeriod
public String getPeriod()
-
setPeriod
public void setPeriod(String period)
-
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
public String getLabelsToExclude()
-
setLabelsToExclude
public void setLabelsToExclude(String labelsToExclude)
-
getCronExpression
public String getCronExpression()
-
setCronExpression
public void setCronExpression(String cronExpression)
-
getMaximumBuildsToKeep
public int getMaximumBuildsToKeep()
-
setMaximumBuildsToKeep
public void setMaximumBuildsToKeep(int maximumBuildsToKeep)
-
-