com.atlassian.bamboo.plan.branch
Interface VcsBranchManager
- All Known Implementing Classes:
- VcsBranchManagerImpl
public interface VcsBranchManager
save
void save(@NotNull
BambooVcsBranch branch)
findByChain
List<BambooVcsBranch> findByChain(@NotNull
ImmutableChain chain)
findNotDeletedByChain
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.
- Parameters:
chain
- the chain for which we want to find VCS branches.
- Returns:
- a list of
BambooVcsBranch
which still exists in the repository according to Bamboo
findByChainId
List<BambooVcsBranch> findByChainId(long chainId)
- Note: the returned VCS branches will not have a chain associated with them.
deleteAll
void deleteAll(@NotNull
ImmutableChain chain)
deleteAll
void deleteAll(@NotNull
Collection<BambooVcsBranch> vcsBranches)
saveAll
void saveAll(@NotNull
Iterable<BambooVcsBranch> vcsBranches)
saveAll
void saveAll(@NotNull
ImmutableChain chain,
@NotNull
Iterable<VcsBranch> requestedBranchesToSave)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.