Package com.atlassian.bamboo.plan.branch
Interface VcsBranchDao
- All Superinterfaces:
BambooObjectDao<BambooVcsBranch>
- All Known Implementing Classes:
VcsBranchHibernateDao
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteAll(ImmutableChain chain) findByChain(@NotNull ImmutableChain chain) @Nullable BambooVcsBranchfindByChainAndName(long chainId, @NotNull String branchName) findByChainId(long chainId) Note: the returned VCS branches will not have a chain associated with them.findNotDeletedByChain(@NotNull ImmutableChain chain) Given a chain, this will return a list ofBambooVcsBranchof which Bamboo hasn't detected yet that they were deleted in the repository.@NotNull List<BambooVcsBranch> Retrieve a list ofBambooVcsBranchfor which a deletion has been detected.
-
Method Details
-
findByChain
-
deleteAll
-
findByChainId
Note: the returned VCS branches will not have a chain associated with them. -
findByChainAndName
@Nullable @Nullable BambooVcsBranch findByChainAndName(long chainId, @NotNull @NotNull String branchName) -
findWithDetectedDeletionDate
Retrieve a list ofBambooVcsBranchfor which a deletion has been detected.- Returns:
- a list of
BambooVcsBranchfor which a deletion has been detected
-
findNotDeletedByChain
Given a chain, this will return a list ofBambooVcsBranchof 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
BambooVcsBranchwhich still exists in the repository according to Bamboo
-