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 VcsRepositoryManagervcsRepositoryManager
-
Constructor Summary
Constructors Constructor Description AbstractBitbucketServerExecutor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 VcsRepositoryModuleDescriptorgetGitModuleDescriptor()protected booleanshouldFallbackToPolling(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)
-
-