Package com.atlassian.bamboo.repository
Class QuietPeriodHelper
- java.lang.Object
-
- com.atlassian.bamboo.repository.QuietPeriodHelper
-
- All Implemented Interfaces:
Serializable
public class QuietPeriodHelper extends Object implements Serializable
Allows you to easily add commit quite time to your repository- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_MAX_RETRIES
static int
DEFAULT_QUIET_PERIOD
-
Constructor Summary
Constructors Constructor Description QuietPeriodHelper(String repoPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaxRetries()
int
getQuietPeriod()
boolean
isEnabled(BuildConfiguration buildConfiguration)
boolean
isQuietPeriodEnabled()
void
populateFromConfig(org.apache.commons.configuration.HierarchicalConfiguration config)
void
toConfiguration(org.apache.commons.configuration.HierarchicalConfiguration configuration)
void
validate(BuildConfiguration buildConfiguration, ErrorCollection errorCollection)
-
-
-
Field Detail
-
DEFAULT_QUIET_PERIOD
public static final int DEFAULT_QUIET_PERIOD
- See Also:
- Constant Field Values
-
DEFAULT_MAX_RETRIES
public static final int DEFAULT_MAX_RETRIES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
QuietPeriodHelper
public QuietPeriodHelper(String repoPrefix)
-
-
Method Detail
-
validate
public void validate(BuildConfiguration buildConfiguration, ErrorCollection errorCollection)
-
populateFromConfig
public void populateFromConfig(org.apache.commons.configuration.HierarchicalConfiguration config)
-
toConfiguration
public void toConfiguration(org.apache.commons.configuration.HierarchicalConfiguration configuration)
-
isEnabled
public boolean isEnabled(BuildConfiguration buildConfiguration)
-
isQuietPeriodEnabled
public boolean isQuietPeriodEnabled()
-
getQuietPeriod
public int getQuietPeriod()
-
getMaxRetries
public int getMaxRetries()
-
-