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