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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static VcsRepositoryDatabitbucketServerToGitData(@NotNull VcsRepositoryData vcsRepositoryData) protected <T> TexecuteOnMirrorWithPrimaryFallback(@NotNull RepositoryExceptionAwareFunction<VcsRepositoryData, T> exec, @NotNull VcsRepositoryData vcsRepositoryData) protected <T> TexecuteOnMirrorWithPrimaryFallback(@NotNull RepositoryExceptionAwareFunction<VcsRepositoryData, T> exec, @NotNull VcsRepositoryData vcsRepositoryData, @NotNull Optional<BuildLogger> buildLogger) protected VcsRepositoryModuleDescriptorprotected booleanshouldFallbackToPolling(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
-