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
public class AbstractBitbucketServerExecutor extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected VcsRepositoryManager
vcsRepositoryManager
-
Constructor Summary
Constructors Constructor Description AbstractBitbucketServerExecutor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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
getGitModuleDescriptor()
protected boolean
shouldFallbackToPolling(VcsRepositoryData repositoryData)
-
-
-
Field Detail
-
vcsRepositoryManager
@Autowired protected VcsRepositoryManager vcsRepositoryManager
-
-
Method Detail
-
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
protected VcsRepositoryModuleDescriptor getGitModuleDescriptor()
-
shouldFallbackToPolling
protected boolean shouldFallbackToPolling(VcsRepositoryData repositoryData)
-
-