com.atlassian.bamboo.repository
Class QuietPeriodHelper
java.lang.Object
com.atlassian.bamboo.repository.QuietPeriodHelper
- All Implemented Interfaces:
- java.io.Serializable
public class QuietPeriodHelper
- extends java.lang.Object
- implements java.io.Serializable
Allows you to easily add commit quite time to your repository
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
QuietPeriodHelper
public QuietPeriodHelper(java.lang.String repoPrefix,
int defaultQuietPeriod,
int defaultMaxRetries)
QuietPeriodHelper
public QuietPeriodHelper(java.lang.String repoPrefix)
addDefaultValues
public void addDefaultValues(@NotNull
BuildConfiguration buildConfiguration)
validate
public void validate(BuildConfiguration buildConfiguration,
ErrorCollection errorCollection)
clearFromBuildConfiguration
public void clearFromBuildConfiguration(BuildConfiguration buildConfiguration)
populateFromConfig
public void populateFromConfig(org.apache.commons.configuration.HierarchicalConfiguration config,
MutableQuietPeriodAwareRepository repository)
toConfiguration
public void toConfiguration(org.apache.commons.configuration.HierarchicalConfiguration configuration,
QuietPeriodAwareRepository repository)
isEnabled
public boolean isEnabled(BuildConfiguration buildConfiguration)
Copyright © 2010 Atlassian. All Rights Reserved.