public interface VcsBranchManager
Modifier and Type | Method and Description |
---|---|
void |
createAll(ImmutableChain chain,
Iterable<VcsBranch> requestedBranchesToSave)
Creates new VCS branches.
|
void |
createAll(Iterable<BambooVcsBranch> vcsBranches)
Creates new VCS branches.
|
void |
deleteAll(Collection<BambooVcsBranch> vcsBranches) |
void |
deleteAll(ImmutableChain chain) |
List<BambooVcsBranch> |
findByChain(ImmutableChain chain) |
BambooVcsBranch |
findByChainAndName(long chainId,
String branchName) |
List<BambooVcsBranch> |
findByChainId(long chainId)
Note: the returned VCS branches will not have a chain associated with them.
|
List<BambooVcsBranch> |
findNotDeletedByChain(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(BambooVcsBranch branch) |
void |
saveAll(ImmutableChain chain,
Iterable<VcsBranch> requestedBranchesToSave)
Deprecated.
since 5.14 use
createAll(ImmutableChain, Iterable) |
void |
saveAll(Iterable<BambooVcsBranch> vcsBranches)
Deprecated.
since 5.14 use
createAll(Iterable) |
void save(@NotNull BambooVcsBranch branch)
List<BambooVcsBranch> findByChain(@NotNull ImmutableChain chain)
@Nullable BambooVcsBranch findByChainAndName(long chainId, @NotNull String branchName)
List<BambooVcsBranch> findNotDeletedByChain(@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 ImmutableChain chain)
void deleteAll(@NotNull Collection<BambooVcsBranch> vcsBranches)
@Deprecated void saveAll(@NotNull Iterable<BambooVcsBranch> vcsBranches)
createAll(Iterable)
void createAll(@NotNull Iterable<BambooVcsBranch> vcsBranches)
@Deprecated void saveAll(@NotNull ImmutableChain chain, @NotNull Iterable<VcsBranch> requestedBranchesToSave)
createAll(ImmutableChain, Iterable)
void createAll(@NotNull ImmutableChain chain, @NotNull Iterable<VcsBranch> requestedBranchesToSave)
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.