com.atlassian.bamboo.plan.branch
Class VcsBranchManagerImpl
java.lang.Object
com.atlassian.bamboo.plan.branch.VcsBranchManagerImpl
- All Implemented Interfaces:
- VcsBranchManager
public class VcsBranchManagerImpl
- extends Object
- implements VcsBranchManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VcsBranchManagerImpl
public VcsBranchManagerImpl(@NotNull
VcsBranchDao vcsBranchDao)
findByChain
public List<BambooVcsBranch> findByChain(@NotNull
ImmutableChain chain)
- Specified by:
findByChain
in interface VcsBranchManager
findNotDeletedByChain
public List<BambooVcsBranch> findNotDeletedByChain(@NotNull
ImmutableChain chain)
- Description copied from interface:
VcsBranchManager
- Given a chain, this will return a list of
BambooVcsBranch
of which Bamboo hasn't detected yet
that they were deleted in the repository.
- Specified by:
findNotDeletedByChain
in interface VcsBranchManager
- 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
public List<BambooVcsBranch> findByChainId(long chainId)
- Description copied from interface:
VcsBranchManager
- Note: the returned VCS branches will not have a chain associated with them.
- Specified by:
findByChainId
in interface VcsBranchManager
save
public void save(@NotNull
BambooVcsBranch branch)
- Specified by:
save
in interface VcsBranchManager
deleteAll
public void deleteAll(@NotNull
ImmutableChain chain)
- Specified by:
deleteAll
in interface VcsBranchManager
deleteAll
public void deleteAll(@NotNull
Collection<BambooVcsBranch> vcsBranches)
- Specified by:
deleteAll
in interface VcsBranchManager
saveAll
public void saveAll(@NotNull
Iterable<BambooVcsBranch> requestedBranchesToSave)
- Specified by:
saveAll
in interface VcsBranchManager
saveAll
public void saveAll(@NotNull
ImmutableChain chain,
@NotNull
Iterable<VcsBranch> requestedBranchesToSave)
- Specified by:
saveAll
in interface VcsBranchManager
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.