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