Package com.atlassian.bamboo.repository
Interface QuietPeriodAwareRepository
-
- All Superinterfaces:
BambooPluginModule
,BuildConfigurationAwarePlugin
,ConfigurablePlugin
,ConvertibleFromConfig
,DescriptionProvider
,InitablePluginModule
,NameProvider
,RenderableBuildConfiguration
,Repository
,RepositoryV2
,Serializable
- All Known Implementing Classes:
AbstractRepository
,AbstractStandaloneRepository
,BitbucketRepository
,GitHubRepository
,GitRepository
,NullRepository
,PerforceRepository
,StashRepositoryImpl
,SvnRepository
public interface QuietPeriodAwareRepository extends Repository
Repositories that implement this method will continue to collect changes for everygetQuietPeriod()
up togetMaxRetries()
times.
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.repository.Repository
SELECTED_REPOSITORY, UNKNOWN_HOST
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getMaxRetries()
Returns the maximum number of times to collect changesint
getQuietPeriod()
Returns the number of seconds to wait between each retryboolean
isQuietPeriodEnabled()
Returns true if we were to enable the quiet period-
Methods inherited from interface com.atlassian.bamboo.v2.build.BuildConfigurationAwarePlugin
addDefaultValues, isConfigurationMissing, prepareConfigObject, validate
-
Methods inherited from interface com.atlassian.bamboo.v2.build.ConfigurablePlugin
customizeBuildRequirements, removeBuildRequirements
-
Methods inherited from interface com.atlassian.bamboo.fieldvalue.ConvertibleFromConfig
populateFromConfig, toConfiguration
-
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescription
-
Methods inherited from interface com.atlassian.bamboo.plugin.InitablePluginModule
init
-
Methods inherited from interface com.atlassian.bamboo.v2.build.RenderableBuildConfiguration
getEditHtml, getViewHtml
-
Methods inherited from interface com.atlassian.bamboo.repository.Repository
checkConnection, getHost, getKey, getLocationIdentifier, getMinimalEditHtml, getName, getShortKey
-
Methods inherited from interface com.atlassian.bamboo.v2.build.repository.RepositoryV2
collectChangesSinceLastBuild, getSourceCodeDirectory, isRepositoryDifferent
-
-
-
-
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:
-
-