public class CombinedExpiryConfig extends Object
Constructor and Description |
---|
CombinedExpiryConfig() |
CombinedExpiryConfig(@Nullable BuildExpiryConfig buildExpiryConfig) |
CombinedExpiryConfig(@Nullable BuildExpiryConfig buildExpiryConfig,
@Nullable DeploymentExpiryConfig deploymentExpiryConfig) |
CombinedExpiryConfig(@Nullable DeploymentExpiryConfig deploymentExpiryConfig) |
public CombinedExpiryConfig()
public CombinedExpiryConfig(@Nullable @Nullable BuildExpiryConfig buildExpiryConfig)
public CombinedExpiryConfig(@Nullable @Nullable DeploymentExpiryConfig deploymentExpiryConfig)
public CombinedExpiryConfig(@Nullable @Nullable BuildExpiryConfig buildExpiryConfig, @Nullable @Nullable DeploymentExpiryConfig deploymentExpiryConfig)
@NotNull public @NotNull List<String> getSelectedExpiryTypesLabelKeys(boolean deploymentExpiryEnabled)
@NotNull public @NotNull BuildExpiryConfig toBuildExpiryConfig()
@NotNull public @NotNull DeploymentExpiryConfig toDeploymentExpiryConfig()
@NotNull public static @NotNull String getExpiryTypeLabelKey(@NotNull @NotNull BuildExpiryType buildExpiryType, boolean withDeployments)
public boolean isEnabled()
public String getCronExpression()
public void setCronExpression(String cronExpression)
public boolean isExpiryTypeNothing()
public void setExpiryTypeNothing(boolean expiryTypeNothing)
public boolean isExpiryTypeResult()
public void setExpiryTypeResult(boolean expiryTypeResult)
public boolean isExpiryTypeArtifact()
public void setExpiryTypeArtifact(boolean expiryTypeArtifact)
public boolean isExpiryTypeBuildLog()
public void setExpiryTypeBuildLog(boolean expiryTypeBuildLog)
public String getPeriod()
public void setPeriod(String period)
public int getDuration()
public void setDuration(int duration)
public int getBuildsToKeep()
public void setBuildsToKeep(int buildsToKeep)
public int getDeploymentsToKeep()
public void setDeploymentsToKeep(int deploymentsToKeep)
public String getLabelsToKeep()
public void setLabelsToKeep(String labelsToKeep)
public long getMaxIgnoredLogSize()
public void setMaxIgnoredLogSize(long maxIgnoredLogSize)
public int getMaximumBuildsToKeep()
public void setMaximumBuildsToKeep(int maximumBuildsToKeep)
public int getAnyDeploymentsToKeep()
public void setAnyDeploymentsToKeep(int anyDeploymentsToKeep)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.