Uses of Interface
com.atlassian.bamboo.plan.pullrequest.VcsPullRequest
Package
Description
-
Uses of VcsPullRequest in com.atlassian.bamboo.build
Modifier and TypeMethodDescription@NotNull VcsPullRequest
PlanBranchPullRequest.getVcsPullRequest()
@NotNull VcsPullRequest
PlanBranchPullRequestImpl.getVcsPullRequest()
ModifierConstructorDescriptionPlanBranchPullRequestImpl
(long id, @NotNull ImmutableChainBranch chainBranch, @NotNull VcsPullRequest vcsPullRequest) -
Uses of VcsPullRequest in com.atlassian.bamboo.plan.branch
Modifier and TypeMethodDescription@NotNull ChainBranchCreationResult
LightweightBranchCreationService.createChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull String branchName, @Nullable String branchDescription, @Nullable PlanRepositoryDefinition defaultRepositoryDefinition, @Nullable VcsRepositoryModuleDescriptor moduleDescriptor, @Nullable VcsBranch newBranch, @NotNull BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> branchPlanKeyConsumer, boolean expectingDivergentBranch, Optional<VcsPullRequest> pullRequest) Creates a new lightweight plan branch for give chain.@NotNull ChainBranchCreationResult
LightweightBranchCreationServiceImpl.createChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull String branchName, @Nullable String branchDescription, @Nullable PlanRepositoryDefinition defaultRepositoryDefinition, @Nullable VcsRepositoryModuleDescriptor moduleDescriptor, @Nullable VcsBranch newBranch, @NotNull BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> branchPlanKeyConsumer, boolean expectingDivergentBranch, Optional<VcsPullRequest> pullRequest) @NotNull ChainBranchCreationResult
LightweightBranchCreationService.createOrEnableChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @Nullable String branchName, @NotNull Function<VcsBranchConfigurator, VcsBranch> vcsBranchProvider, @Nullable BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> branchPlanKeyConsumer, boolean expectingDivergentBranch, Optional<VcsPullRequest> pullRequest) Given a branch name and (optionally) vcs branch name, check if branch already exists.@NotNull ChainBranchCreationResult
LightweightBranchCreationServiceImpl.createOrEnableChainBranch
(@NotNull ImmutableChain chain, @NotNull PlanBranchWorkflow planBranchWorkflow, @Nullable String branchName, @NotNull Function<VcsBranchConfigurator, VcsBranch> vcsBranchProvider, @Nullable BuildConfiguration buildConfiguration, PlanCreationService.EnablePlan enablePlan, boolean enableExpiry, @NotNull Consumer<PlanKey> branchPlanKeyConsumer, boolean expectingDivergentBranch, Optional<VcsPullRequest> pullRequest) void
BranchCreationFacade.createOrEnableChainsBranches
(@NotNull List<ImmutableChain> chains, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull Function<VcsBranchConfigurator, VcsBranch> vcsBranchProvider, @NotNull Function<ImmutableChain, BuildConfiguration> buildConfigurationProvider, @NotNull Consumer<PlanKey> planBranchConsumer, @NotNull Optional<VcsPullRequest> pullRequest) Given a list of plans and a vcs branch creates plan branches for those chains, queuing RSS execution if required.void
BranchCreationFacadeImpl.createOrEnableChainsBranches
(@NotNull List<ImmutableChain> chains, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull Function<VcsBranchConfigurator, VcsBranch> vcsBranchProvider, @NotNull Function<ImmutableChain, BuildConfiguration> buildConfigurationProvider, @NotNull Consumer<PlanKey> planBranchConsumer, @NotNull Optional<VcsPullRequest> pullRequest) void
BranchCreationFacade.enableExistingChainBranch
(@NotNull ImmutableChain masterChain, @NotNull ImmutableChainBranch existingChainBranch, @NotNull Optional<VcsPullRequest> pullRequest) Enables existing chain branch, queuing RSS execution if required.void
BranchCreationFacadeImpl.enableExistingChainBranch
(@NotNull ImmutableChain chain, @NotNull ImmutableChainBranch existingChainBranch, @NotNull Optional<VcsPullRequest> pullRequest) -
Uses of VcsPullRequest in com.atlassian.bamboo.plan.pullrequest
Modifier and TypeInterfaceDescriptioninterface
Mutable pull request entity.Modifier and TypeMethodDescription@NotNull VcsPullRequest
VcsPullRequestService.createPullRequest
(@NotNull String pullRequestKey, @Nullable Long sourceRepositoryId, @NotNull String sourceBranch, long targetRepositoryId, @NotNull String targetBranch, boolean isOpen) Create new pull request and save it.@NotNull VcsPullRequest
VcsPullRequestService.createPullRequest
(@NotNull String pullRequestKey, @Nullable Long sourceRepositoryId, @NotNull String sourceBranch, long targetRepositoryId, @NotNull String targetBranch, boolean isOpen, @NotNull VcsForkDto vcsForkDto) Create new pull request and save it.@NotNull VcsPullRequest
VcsPullRequestServiceImpl.createPullRequest
(@NotNull String pullRequestKey, @Nullable Long sourceRepositoryId, @NotNull String source, long targetRepositoryId, @NotNull String target, boolean isOpen) @NotNull VcsPullRequest
VcsPullRequestServiceImpl.createPullRequest
(@NotNull String pullRequestKey, @Nullable Long sourceRepositoryId, @NotNull String source, long targetRepositoryId, @NotNull String target, boolean isOpen, @NotNull VcsForkDto vcsForkDto) @Nullable VcsPullRequest
VcsPullRequestService.findByRepositoryAndKey
(long targetRepositoryId, @NotNull String pullRequestKey) Search pull request by pull request key (unique on repository level) and target repository idVcsPullRequestServiceImpl.findByRepositoryAndKey
(long targetRepositoryId, @NotNull String pullRequestKey) Modifier and TypeMethodDescriptionVcsPullRequestService.findOpenByRepository
(long targetRepositoryId) Deprecated.since 8.2VcsPullRequestServiceImpl.findOpenByRepository
(long targetRepositoryId) @NotNull List<VcsPullRequest>
PullRequestDetectionService.getOpenPullRequests
(@NotNull ImmutableChain chain, @NotNull VcsRepositoryData planRepositoryDefinition) Returns a list of currently open pull requests for the chain's default repository List ordering determined by underlying repository (preference is for native ordering e.g.@NotNull List<VcsPullRequest>
PullRequestDetectionServiceImpl.getOpenPullRequests
(@NotNull ImmutableChain chain, @NotNull VcsRepositoryData planRepositoryDefinition) Modifier and TypeMethodDescriptionstatic VcsPullRequestImpl
VcsPullRequestImpl.cloneForAnotherRootId
(@NotNull VcsPullRequest pullRequest, long newRootVcsId) void
VcsPullRequestService.closePullRequest
(@NotNull VcsPullRequest pullRequest) Mark pull request as closed.void
VcsPullRequestServiceImpl.closePullRequest
(@NotNull VcsPullRequest pr) void
VcsPullRequestService.updatePullRequest
(@NotNull VcsPullRequest pullRequest, @Nullable Long sourceRepositoryId, @NotNull String source, @NotNull String target, boolean isOpen) Modify pull request.void
VcsPullRequestService.updatePullRequest
(@NotNull VcsPullRequest pullRequest, @Nullable Long sourceRepositoryId, @NotNull String source, @NotNull String target, boolean isOpen, @NotNull VcsForkDto vcsForkDto) Modify pull request.void
VcsPullRequestServiceImpl.updatePullRequest
(@NotNull VcsPullRequest pr, @Nullable Long sourceRepositoryId, @NotNull String source, @NotNull String target, boolean isOpen) void
VcsPullRequestServiceImpl.updatePullRequest
(@NotNull VcsPullRequest pr, @Nullable Long sourceRepositoryId, @NotNull String source, @NotNull String target, boolean isOpen, @NotNull VcsForkDto vcsForkDto) Modifier and TypeMethodDescriptionvoid
VcsPullRequestService.closePullRequestsClosedInRepository
(long targetRepositoryId, @NotNull List<VcsPullRequest> openPullRequests) Synchronize the status of pull requests in DB and in remote repositoryvoid
VcsPullRequestServiceImpl.closePullRequestsClosedInRepository
(long targetRepositoryId, @NotNull List<VcsPullRequest> openPullRequests) -
Uses of VcsPullRequest in com.atlassian.bamboo.plan.pullrequest.event
Modifier and TypeMethodDescription@NotNull VcsPullRequest
VcsPullRequestCreatedEvent.getPullRequest()
@NotNull VcsPullRequest
VcsPullRequestUpdatedEvent.getPullRequestAfterChanges()
@NotNull VcsPullRequest
VcsPullRequestUpdatedEvent.getPullRequestBeforeChanges()
ModifierConstructorDescriptionVcsPullRequestCreatedEvent
(@NotNull VcsPullRequest pullRequest) VcsPullRequestUpdatedEvent
(@NotNull VcsPullRequest pullRequestBeforeChanges, @NotNull VcsPullRequest pullRequestAfterChanges) -
Uses of VcsPullRequest in com.atlassian.bamboo.plugins.bitbucket.v2
Modifier and TypeMethodDescription@NotNull List<VcsPullRequest>
BitbucketCloudPullRequestDetector.getOpenPullRequests
(@NotNull VcsRepositoryData repositoryData) -
Uses of VcsPullRequest in com.atlassian.bamboo.plugins.github
Modifier and TypeMethodDescription@NotNull List<VcsPullRequest>
GithubPullRequestDetector.getOpenPullRequests
(@NotNull VcsRepositoryData repositoryData) -
Uses of VcsPullRequest in com.atlassian.bamboo.plugins.stash
Modifier and TypeMethodDescription@NotNull List<VcsPullRequest>
BitbucketServerPullRequestDetector.getOpenPullRequests
(@NotNull VcsRepositoryData repositoryData) -
Uses of VcsPullRequest in com.atlassian.bamboo.repository
Modifier and TypeMethodDescription@NotNull List<VcsPullRequest>
RepositoryCachingFacade.getOpenPullRequests
(@NotNull VcsPullRequestDetector pullRequestDetector, @NotNull VcsRepositoryData repositoryData) @NotNull List<VcsPullRequest>
RepositoryCachingFacadeImpl.getOpenPullRequests
(@NotNull VcsPullRequestDetector pullRequestDetector, @NotNull VcsRepositoryData repositoryData) -
Uses of VcsPullRequest in com.atlassian.bamboo.vcs.runtime
Modifier and TypeMethodDescription@NotNull List<VcsPullRequest>
VcsPullRequestDetector.getOpenPullRequests
(@NotNull VcsRepositoryData repositoryData) List
of open pull requests that are discovered in the repository.