Class AbstractBitbucketServerExecutor
java.lang.Object
com.atlassian.bamboo.plugins.stash.v2.AbstractBitbucketServerExecutor
- Direct Known Subclasses:
BitbucketServerBambooSpecsHandler
,BitbucketServerBranchCreator
,BitbucketServerBranchDetector
,BitbucketServerBuildWarningsUpdater
,BitbucketServerChangeDetector
,BitbucketServerPullRequestDetector
,BitbucketServerTagCreator
,BitbucketServerTagsHandler
,BitbucketServerVariableGenerator
,BitbucketServerWorkingCopyManager
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static VcsRepositoryData
bitbucketServerToGitData
(@NotNull VcsRepositoryData vcsRepositoryData) protected <T> T
executeOnMirrorWithPrimaryFallback
(@NotNull RepositoryExceptionAwareFunction<VcsRepositoryData, T> exec, @NotNull VcsRepositoryData vcsRepositoryData) protected <T> T
executeOnMirrorWithPrimaryFallback
(@NotNull RepositoryExceptionAwareFunction<VcsRepositoryData, T> exec, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull Optional<BuildLogger> buildLogger) protected VcsRepositoryModuleDescriptor
protected boolean
shouldFallbackToPolling
(VcsRepositoryData repositoryData)
-
Field Details
-
vcsRepositoryManager
-
-
Constructor Details
-
AbstractBitbucketServerExecutor
public AbstractBitbucketServerExecutor()
-
-
Method Details
-
executeOnMirrorWithPrimaryFallback
protected <T> T executeOnMirrorWithPrimaryFallback(@NotNull @NotNull RepositoryExceptionAwareFunction<VcsRepositoryData, T> exec, @NotNull @NotNull VcsRepositoryData vcsRepositoryData) throws RepositoryException- Throws:
RepositoryException
-
executeOnMirrorWithPrimaryFallback
protected <T> T executeOnMirrorWithPrimaryFallback(@NotNull @NotNull RepositoryExceptionAwareFunction<VcsRepositoryData, T> exec, @NotNull @NotNull VcsRepositoryData vcsRepositoryData, @NotNull @NotNull Optional<BuildLogger> buildLogger) throws RepositoryException- Throws:
RepositoryException
-
bitbucketServerToGitData
protected static VcsRepositoryData bitbucketServerToGitData(@NotNull @NotNull VcsRepositoryData vcsRepositoryData) -
getGitModuleDescriptor
-
shouldFallbackToPolling
-