public interface VcsBranchDao extends BambooObjectDao<BambooVcsBranch>
Modifier and Type | Method and Description |
---|---|
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. |
List<BambooVcsBranch> |
findWithDetectedDeletionDate()
Retrieve a list of
BambooVcsBranch for which a deletion has been detected. |
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
List<BambooVcsBranch> findByChain(@NotNull ImmutableChain chain)
void deleteAll(ImmutableChain chain)
List<BambooVcsBranch> findByChainId(long chainId)
@Nullable BambooVcsBranch findByChainAndName(long chainId, @NotNull String branchName)
@NotNull List<BambooVcsBranch> findWithDetectedDeletionDate()
BambooVcsBranch
for which a deletion has been detected.BambooVcsBranch
for which a deletion has been detectedList<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 BambooCopyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.