@Immutable public class BranchCleanupProperties extends Object implements EntityProperties
| Constructor and Description |
|---|
BranchCleanupProperties(boolean removeDeletedFromRepository,
@NotNull Duration removeDeletedFromRepositoryPeriod,
boolean removeInactiveInRepository,
@NotNull Duration removeInactiveInRepositoryPeriod) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Duration |
getRemoveDeletedFromRepositoryPeriod() |
Duration |
getRemoveInactiveInRepositoryPeriod() |
int |
hashCode() |
boolean |
isRemoveDeletedFromRepository() |
boolean |
isRemoveInactiveInRepository() |
void |
validate() |
public BranchCleanupProperties(boolean removeDeletedFromRepository,
@NotNull
@NotNull Duration removeDeletedFromRepositoryPeriod,
boolean removeInactiveInRepository,
@NotNull
@NotNull Duration removeInactiveInRepositoryPeriod)
throws PropertiesValidationException
PropertiesValidationExceptionpublic boolean isRemoveDeletedFromRepository()
public boolean isRemoveInactiveInRepository()
public Duration getRemoveDeletedFromRepositoryPeriod()
public Duration getRemoveInactiveInRepositoryPeriod()
public void validate()
validate in interface EntityPropertiesCopyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.