| Package | Description |
|---|---|
| com.atlassian.bamboo.build | |
| com.atlassian.bamboo.plan.branch | |
| com.atlassian.bamboo.plan.pullrequest | |
| com.atlassian.bamboo.plan.pullrequest.event |
| Modifier and Type | Method and Description |
|---|---|
@NotNull VcsPullRequest |
PlanBranchPullRequestImpl.getVcsPullRequest() |
@NotNull VcsPullRequest |
PlanBranchPullRequest.getVcsPullRequest() |
| Constructor and Description |
|---|
PlanBranchPullRequestImpl(long id,
@NotNull ImmutableChainBranch chainBranch,
@NotNull VcsPullRequest vcsPullRequest) |
| Modifier and Type | Method and Description |
|---|---|
@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.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.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) |
@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.
|
void |
BranchCreationFacadeImpl.createOrEnableChainsBranches(@NotNull List<ImmutableChain> chains,
@NotNull PlanBranchWorkflow planBranchWorkflow,
@NotNull Function<VcsBranchConfigurator,VcsBranch> vcsBranchProvider,
@NotNull Function<ImmutableChain,BuildConfiguration> buildConfigurationProvider,
@NotNull Consumer<PlanKey> planBranchConsumer,
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,
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.enableExistingChainBranch(@NotNull ImmutableChain chain,
@NotNull ImmutableChainBranch existingChainBranch,
Optional<VcsPullRequest> pullRequest) |
void |
BranchCreationFacade.enableExistingChainBranch(@NotNull ImmutableChain masterChain,
@NotNull ImmutableChainBranch existingChainBranch,
Optional<VcsPullRequest> pullRequest)
Enables existing chain branch, queuing RSS execution if required.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
MutableVcsPullRequest
Mutable pull request entity.
|
| Modifier and Type | Class and Description |
|---|---|
class |
VcsPullRequestImpl |
| Modifier and Type | Method and Description |
|---|---|
@NotNull VcsPullRequest |
VcsPullRequestServiceImpl.createPullRequest(@NotNull String pullRequestKey,
@Nullable Long sourceRepositoryId,
@NotNull String source,
long targetRepositoryId,
@NotNull String target,
boolean isOpen) |
@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 |
VcsPullRequestServiceImpl.createPullRequest(@NotNull String pullRequestKey,
@Nullable Long sourceRepositoryId,
@NotNull String source,
long targetRepositoryId,
@NotNull String target,
boolean isOpen,
@NotNull VcsForkDto vcsForkDto) |
@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.
|
VcsPullRequest |
VcsPullRequestServiceImpl.findByRepositoryAndKey(long targetRepositoryId,
@NotNull String pullRequestKey) |
@Nullable VcsPullRequest |
VcsPullRequestService.findByRepositoryAndKey(long targetRepositoryId,
@NotNull String pullRequestKey)
Search pull request by pull request key (unique on repository level) and target repository id
|
| Modifier and Type | Method and Description |
|---|---|
List<VcsPullRequest> |
VcsPullRequestServiceImpl.findOpenByRepository(long targetRepositoryId) |
List<VcsPullRequest> |
VcsPullRequestService.findOpenByRepository(long targetRepositoryId)
Deprecated.
since 8.2
|
| Modifier and Type | Method and Description |
|---|---|
void |
VcsPullRequestServiceImpl.closePullRequest(@NotNull VcsPullRequest pr) |
void |
VcsPullRequestService.closePullRequest(@NotNull VcsPullRequest pullRequest)
Mark pull request as closed.
|
void |
VcsPullRequestServiceImpl.updatePullRequest(@NotNull VcsPullRequest pr,
@Nullable Long sourceRepositoryId,
@NotNull String source,
@NotNull String target,
boolean isOpen) |
void |
VcsPullRequestService.updatePullRequest(@NotNull VcsPullRequest pullRequest,
@Nullable Long sourceRepositoryId,
@NotNull String source,
@NotNull String target,
boolean isOpen)
Modify pull request.
|
void |
VcsPullRequestServiceImpl.updatePullRequest(@NotNull VcsPullRequest pr,
@Nullable Long sourceRepositoryId,
@NotNull String source,
@NotNull String target,
boolean isOpen,
@NotNull VcsForkDto vcsForkDto) |
void |
VcsPullRequestService.updatePullRequest(@NotNull VcsPullRequest pullRequest,
@Nullable Long sourceRepositoryId,
@NotNull String source,
@NotNull String target,
boolean isOpen,
@NotNull VcsForkDto vcsForkDto)
Modify pull request.
|
| Constructor and Description |
|---|
VcsPullRequestImpl(VcsPullRequest pullRequest) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull VcsPullRequest |
VcsPullRequestCreatedEvent.getPullRequest() |
@NotNull VcsPullRequest |
VcsPullRequestUpdatedEvent.getPullRequestAfterChanges() |
@NotNull VcsPullRequest |
VcsPullRequestUpdatedEvent.getPullRequestBeforeChanges() |
| Constructor and Description |
|---|
VcsPullRequestCreatedEvent(@NotNull VcsPullRequest pullRequest) |
VcsPullRequestUpdatedEvent(@NotNull VcsPullRequest pullRequestBeforeChanges,
@NotNull VcsPullRequest pullRequestAfterChanges) |
VcsPullRequestUpdatedEvent(@NotNull VcsPullRequest pullRequestBeforeChanges,
@NotNull VcsPullRequest pullRequestAfterChanges) |
Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.