|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.plan.branch.BranchDetectionServiceImpl
public class BranchDetectionServiceImpl
Constructor Summary | |
---|---|
BranchDetectionServiceImpl(PlanManager planManager,
ChainBranchCreationService chainBranchCreationService,
RepositoryManager repositoryManager,
VcsBranchManager vcsBranchManager,
RepositoryCachingFacade repositoryCachingFacade,
ErrorHandler errorHandler,
ScopedExclusionService scopedExclusionService)
|
Method Summary | |
---|---|
void |
createPlanBranches(ImmutableChain chain,
java.util.Collection<VcsBranch> branches,
ErrorCollection errorCollection)
Given a list of branch names, create Plan Branches for these, with overriding repository definitions |
void |
detectBranchesForChain(ImmutableChain chain)
Immediately executes the detection for a given Chain and creates new plan branches if new branches found in the plan's default repository. |
java.util.List<VcsBranch> |
getOpenBranches(ImmutableChain chain,
ErrorCollection errorCollection)
Returns a list of currently open branches for the chain's default repository List ordering determined by underlying repository (preference is for native ordering e.g. |
boolean |
scheduleBranchDetectionForChain(ImmutableChain chain)
Registers branch detection request for a given Chain. |
boolean |
scheduleBranchListInitialisation(Chain chain)
Schedules initialisation of existing vcs branch list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BranchDetectionServiceImpl(PlanManager planManager, ChainBranchCreationService chainBranchCreationService, RepositoryManager repositoryManager, VcsBranchManager vcsBranchManager, RepositoryCachingFacade repositoryCachingFacade, ErrorHandler errorHandler, ScopedExclusionService scopedExclusionService)
Method Detail |
---|
public boolean scheduleBranchListInitialisation(@NotNull Chain chain)
BranchDetectionService
scheduleBranchListInitialisation
in interface BranchDetectionService
public boolean scheduleBranchDetectionForChain(@NotNull ImmutableChain chain)
BranchDetectionService
scheduleBranchDetectionForChain
in interface BranchDetectionService
public void detectBranchesForChain(@NotNull ImmutableChain chain)
BranchDetectionService
detectBranchesForChain
in interface BranchDetectionService
public void createPlanBranches(@NotNull ImmutableChain chain, @NotNull java.util.Collection<VcsBranch> branches, @Nullable ErrorCollection errorCollection)
BranchDetectionService
createPlanBranches
in interface BranchDetectionService
chain
- to create branches underbranches
- to create.errorCollection
- - to add errors to, if you dont supply an error collection, they will just get logged.@Nullable public java.util.List<VcsBranch> getOpenBranches(@NotNull ImmutableChain chain, ErrorCollection errorCollection)
BranchDetectionService
getOpenBranches
in interface BranchDetectionService
chain
- to find branches for.errorCollection
- to add any errors to during detection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |