@Immutable public class BranchCleanupProperties extends Object implements EntityProperties
Constructor and Description |
---|
BranchCleanupProperties(boolean removeDeletedFromRepository,
Duration removeDeletedFromRepositoryPeriod,
boolean removeInactiveInRepository,
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 Duration removeDeletedFromRepositoryPeriod, boolean removeInactiveInRepository, @NotNull Duration removeInactiveInRepositoryPeriod) throws PropertiesValidationException
PropertiesValidationException
public boolean isRemoveDeletedFromRepository()
public boolean isRemoveInactiveInRepository()
public Duration getRemoveDeletedFromRepositoryPeriod()
public Duration getRemoveInactiveInRepositoryPeriod()
public void validate()
validate
in interface EntityProperties
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.