@Internal
public interface PlanBranchPullRequestDao
PlanBranchPullRequest
entities.Modifier and Type | Method and Description |
---|---|
@NotNull MutablePlanBranchPullRequest |
create(@NotNull ChainBranch chainBranch,
@NotNull MutableVcsPullRequest vcsPullRequest) |
boolean |
deleteForChainBranch(long branchId) |
boolean |
deleteForChainBranch(@NotNull PlanKey branchKey) |
int |
deleteForVcsPullRequest(long pullRequestId) |
@NotNull List<MutablePlanBranchPullRequest> |
findAll() |
@NotNull List<MutablePlanBranchPullRequest> |
findForChain(long chainId) |
@NotNull Optional<MutablePlanBranchPullRequest> |
findForChainAndPullRequest(long chainId,
long pullRequestId) |
@NotNull Optional<MutablePlanBranchPullRequest> |
findForChainAndPullRequest(@NotNull PlanKey chainKey,
long pullRequestId) |
@NotNull Optional<MutablePlanBranchPullRequest> |
findForChainBranch(long branchId) |
@NotNull Optional<MutablePlanBranchPullRequest> |
findForChainBranch(@NotNull PlanKey branchKey) |
@NotNull List<MutablePlanBranchPullRequest> |
findForPullRequest(long pullRequestId) |
@NotNull @NotNull Optional<MutablePlanBranchPullRequest> findForChainBranch(long branchId)
@NotNull @NotNull Optional<MutablePlanBranchPullRequest> findForChainBranch(@NotNull @NotNull PlanKey branchKey)
@NotNull @NotNull Optional<MutablePlanBranchPullRequest> findForChainAndPullRequest(long chainId, long pullRequestId)
@NotNull @NotNull List<MutablePlanBranchPullRequest> findForChain(long chainId)
@NotNull @NotNull Optional<MutablePlanBranchPullRequest> findForChainAndPullRequest(@NotNull @NotNull PlanKey chainKey, long pullRequestId)
@NotNull @NotNull List<MutablePlanBranchPullRequest> findForPullRequest(long pullRequestId)
@NotNull @NotNull List<MutablePlanBranchPullRequest> findAll()
@NotNull @NotNull MutablePlanBranchPullRequest create(@NotNull @NotNull ChainBranch chainBranch, @NotNull @NotNull MutableVcsPullRequest vcsPullRequest)
IllegalStateException
- if any pull request is already linked to the given plan branchboolean deleteForChainBranch(long branchId)
boolean deleteForChainBranch(@NotNull @NotNull PlanKey branchKey)
int deleteForVcsPullRequest(long pullRequestId)
Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.