com.atlassian.bamboo.repository
Interface QuietPeriodAwareRepository

All Superinterfaces:
BambooPluginModule, ConfigurablePlugin, ConvertibleFromConfig, Repository, RepositoryV2, java.io.Serializable
All Known Subinterfaces:
MutableQuietPeriodAwareRepository
All Known Implementing Classes:
CVSRepository, PerforceRepository, SvnRepository

public interface QuietPeriodAwareRepository
extends Repository

Repositories that implement this method will continue to collect changes for every getQuietPeriod() up to getMaxRetries() times.


Field Summary
 
Fields inherited from interface com.atlassian.bamboo.repository.Repository
SELECTED_REPOSITORY, UNKNOWN_HOST
 
Method Summary
 int getMaxRetries()
          Returns the maximum number of times to collect changes
 int getQuietPeriod()
          Returns the number of seconds to wait between each retry
 boolean isQuietPeriodEnabled()
          Returns true if we were to enable the quiet period
 
Methods inherited from interface com.atlassian.bamboo.repository.Repository
checkConnection, getHost, getKey, getName, getTriggerIpAddress, isRepositoryDifferent, setReferencesDifferentRepository
 
Methods inherited from interface com.atlassian.bamboo.fieldvalue.ConvertibleFromConfig
populateFromConfig, toConfiguration
 
Methods inherited from interface com.atlassian.bamboo.v2.build.repository.RepositoryV2
collectChangesSinceLastBuild, getSourceCodeDirectory, referencesDifferentRepository, retrieveSourceCode
 
Methods inherited from interface com.atlassian.bamboo.v2.build.ConfigurablePlugin
addDefaultValues, customizeBuildRequirements, getEditHtml, getViewHtml, init, prepareConfigObject, validate
 

Method Detail

isQuietPeriodEnabled

boolean isQuietPeriodEnabled()
Returns true if we were to enable the quiet period

Returns:

getQuietPeriod

int getQuietPeriod()
Returns the number of seconds to wait between each retry

Returns:
seconds between retries

getMaxRetries

int getMaxRetries()
Returns the maximum number of times to collect changes

Returns:


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.