com.atlassian.bamboo.plan.branch
Interface BranchMonitoringConfiguration
- All Superinterfaces:
- ConvertibleFromConfig, OptionallyConvertibleFromConfig, java.io.Serializable
- All Known Implementing Classes:
- BranchMonitoringConfigurationImpl
public interface BranchMonitoringConfiguration
- extends OptionallyConvertibleFromConfig, java.io.Serializable
This interface is used to store plan's branches monitor settings - the thing
that monitors the repository for new branches in SCM and manages branches
for that plan in Bamboo
DEFAULT_TIME_OF_INACTIVITY_DAYS
static final int DEFAULT_TIME_OF_INACTIVITY_DAYS
- See Also:
- Constant Field Values
isMonitoringEnabled
boolean isMonitoringEnabled()
setMonitoringEnabled
void setMonitoringEnabled(boolean enabled)
getMatchingPattern
java.lang.String getMatchingPattern()
- Returns the regexp - every matching branch will be
considered for auto branch creation
- Returns:
- regular expression for matching open branches
setMatchingPattern
void setMatchingPattern(@NotNull
java.lang.String matchingExpression)
isCleanupEnabled
boolean isCleanupEnabled()
- Returns:
- true if inactive branches should be auto removed from plan after a while (i.e. 30 days)
setCleanupEnabled
void setCleanupEnabled(boolean enabled)
getTimeOfInactivityInDays
int getTimeOfInactivityInDays()
setTimeOfInactivityInDays
void setTimeOfInactivityInDays(int timeOfInactivityInDays)
Copyright © 2012 Atlassian. All Rights Reserved.