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


Field Summary
static int DEFAULT_TIME_OF_INACTIVITY_DAYS
           
 
Method Summary
 java.lang.String getMatchingPattern()
          Returns the regexp - every matching branch will be considered for auto branch creation
 int getTimeOfInactivityInDays()
           
 boolean isCleanupEnabled()
           
 boolean isMonitoringEnabled()
           
 void setCleanupEnabled(boolean enabled)
           
 void setMatchingPattern(java.lang.String matchingExpression)
           
 void setMonitoringEnabled(boolean enabled)
           
 void setTimeOfInactivityInDays(int timeOfInactivityInDays)
           
 
Methods inherited from interface com.atlassian.bamboo.fieldvalue.OptionallyConvertibleFromConfig
isValid
 
Methods inherited from interface com.atlassian.bamboo.fieldvalue.ConvertibleFromConfig
populateFromConfig, toConfiguration
 

Field Detail

DEFAULT_TIME_OF_INACTIVITY_DAYS

static final int DEFAULT_TIME_OF_INACTIVITY_DAYS
See Also:
Constant Field Values
Method Detail

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.