public interface VcsBranchManager
Modifier and Type | Method and Description |
---|---|
void |
createAll(@NotNull ImmutableChain chain,
@NotNull Iterable<VcsBranch> requestedBranchesToSave)
Creates new VCS branches.
|
void |
createAll(@NotNull Iterable<BambooVcsBranch> vcsBranches)
Creates new VCS branches.
|
void |
deleteAll(@NotNull Collection<BambooVcsBranch> vcsBranches) |
void |
deleteAll(@NotNull ImmutableChain chain) |
List<BambooVcsBranch> |
findByChain(@NotNull ImmutableChain chain) |
@Nullable BambooVcsBranch |
findByChainAndName(long chainId,
@NotNull String branchName) |
List<BambooVcsBranch> |
findByChainId(long chainId)
Note: the returned VCS branches will not have a chain associated with them.
|
List<BambooVcsBranch> |
findNotDeletedByChain(@NotNull ImmutableChain chain)
Given a chain, this will return a list of
BambooVcsBranch of which Bamboo hasn't detected yet
that they were deleted in the repository. |
void |
save(@NotNull BambooVcsBranch branch) |
void |
saveAll(@NotNull ImmutableChain chain,
@NotNull Iterable<VcsBranch> requestedBranchesToSave)
Deprecated.
since 5.14 use
createAll(ImmutableChain, Iterable) |
void |
saveAll(@NotNull Iterable<BambooVcsBranch> vcsBranches)
Deprecated.
since 5.14 use
createAll(Iterable) |
void save(@NotNull @NotNull BambooVcsBranch branch)
List<BambooVcsBranch> findByChain(@NotNull @NotNull ImmutableChain chain)
@Nullable @Nullable BambooVcsBranch findByChainAndName(long chainId, @NotNull @NotNull String branchName)
List<BambooVcsBranch> findNotDeletedByChain(@NotNull @NotNull ImmutableChain chain)
BambooVcsBranch
of which Bamboo hasn't detected yet
that they were deleted in the repository.chain
- the chain for which we want to find VCS branches.BambooVcsBranch
which still exists in the repository according to BambooList<BambooVcsBranch> findByChainId(long chainId)
void deleteAll(@NotNull @NotNull ImmutableChain chain)
void deleteAll(@NotNull @NotNull Collection<BambooVcsBranch> vcsBranches)
@Deprecated void saveAll(@NotNull @NotNull Iterable<BambooVcsBranch> vcsBranches)
createAll(Iterable)
void createAll(@NotNull @NotNull Iterable<BambooVcsBranch> vcsBranches)
@Deprecated void saveAll(@NotNull @NotNull ImmutableChain chain, @NotNull @NotNull Iterable<VcsBranch> requestedBranchesToSave)
createAll(ImmutableChain, Iterable)
void createAll(@NotNull @NotNull ImmutableChain chain, @NotNull @NotNull Iterable<VcsBranch> requestedBranchesToSave)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.