|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BranchDetectionService
A service for detecting new branches in VCS repositories and creating new branches for a plan. This service is responsible for throttling the detection requests.
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. |
Method Detail |
---|
boolean scheduleBranchDetectionForChain(@NotNull ImmutableChain chain)
chain
-
boolean scheduleBranchListInitialisation(@NotNull Chain chain)
chain
-
void detectBranchesForChain(@NotNull ImmutableChain chain)
chain
- @Nullable java.util.List<VcsBranch> getOpenBranches(@NotNull ImmutableChain chain, ErrorCollection errorCollection)
chain
- to find branches for.errorCollection
- to add any errors to during detection
void createPlanBranches(@NotNull ImmutableChain chain, @NotNull java.util.Collection<VcsBranch> branches, @Nullable ErrorCollection errorCollection)
chain
- to create branches underbranches
- to create.errorCollection
- - to add errors to, if you dont supply an error collection, they will just get logged.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |