public class RestCombinedExpiryConfiguration extends Object
Constructor and Description |
---|
RestCombinedExpiryConfiguration() |
RestCombinedExpiryConfiguration(BuildExpiryConfig buildExpiryConfig,
DeploymentExpiryConfig deploymentExpiryConfig) |
Modifier and Type | Method and 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) |
BuildExpiryConfig |
toBuildExpiryConfig() |
DeploymentExpiryConfig |
toDeploymentExpiryConfig() |
public RestCombinedExpiryConfiguration()
public RestCombinedExpiryConfiguration(@NotNull BuildExpiryConfig buildExpiryConfig, @NotNull DeploymentExpiryConfig deploymentExpiryConfig)
@NotNull public BuildExpiryConfig toBuildExpiryConfig()
@NotNull public DeploymentExpiryConfig toDeploymentExpiryConfig()
public int getDuration()
public void setDuration(int duration)
public String getPeriod()
public void setPeriod(String period)
public int getBuildsToKeep()
public void setBuildsToKeep(int buildsToKeep)
public int getDeploymentsToKeep()
public void setDeploymentsToKeep(int deploymentsToKeep)
public long getMaximumIgnoredLogSize()
public void setMaximumIgnoredLogSize(long maximumIgnoredLogSize)
public boolean isExpireResults()
public void setExpireResults(boolean expireResults)
public boolean isExpireArtifacts()
public void setExpireArtifacts(boolean expireArtifacts)
public boolean isExpireLogs()
public void setExpireLogs(boolean expireLogs)
public String getLabelsToExclude()
public void setLabelsToExclude(String labelsToExclude)
public String getCronExpression()
public void setCronExpression(String cronExpression)
public int getMaximumBuildsToKeep()
public void setMaximumBuildsToKeep(int maximumBuildsToKeep)
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.