Class BranchCleanupProperties
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.model.plan.branches.BranchCleanupProperties
-
- All Implemented Interfaces:
EntityProperties
@Immutable public class BranchCleanupProperties extends Object implements EntityProperties
-
-
Constructor Summary
Constructors Constructor Description BranchCleanupProperties(boolean removeDeletedFromRepository, @NotNull Duration removeDeletedFromRepositoryPeriod, boolean removeInactiveInRepository, @NotNull Duration removeInactiveInRepositoryPeriod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)DurationgetRemoveDeletedFromRepositoryPeriod()DurationgetRemoveInactiveInRepositoryPeriod()inthashCode()booleanisRemoveDeletedFromRepository()booleanisRemoveInactiveInRepository()voidvalidate()
-
-
-
Constructor Detail
-
BranchCleanupProperties
public BranchCleanupProperties(boolean removeDeletedFromRepository, @NotNull @NotNull Duration removeDeletedFromRepositoryPeriod, boolean removeInactiveInRepository, @NotNull @NotNull Duration removeInactiveInRepositoryPeriod) throws PropertiesValidationException- Throws:
PropertiesValidationException
-
-
Method Detail
-
isRemoveDeletedFromRepository
public boolean isRemoveDeletedFromRepository()
-
isRemoveInactiveInRepository
public boolean isRemoveInactiveInRepository()
-
getRemoveDeletedFromRepositoryPeriod
public Duration getRemoveDeletedFromRepositoryPeriod()
-
getRemoveInactiveInRepositoryPeriod
public Duration getRemoveInactiveInRepositoryPeriod()
-
validate
public void validate()
- Specified by:
validatein interfaceEntityProperties
-
-