Interface SpecsConsumerFactory
- All Known Implementing Classes:
SpecsConsumerFactoryImpl
@ExperimentalApi
public interface SpecsConsumerFactory
Factory for creating
SpecsConsumer
-
Method Summary
Modifier and TypeMethodDescriptionCreate Specs consumer used when Specs where run for global repositorycreateDivergentBranchSpecsCreationConsumer
(@NotNull VcsBranch newBranch, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull Multimap<ImmutableChain, PlanKey> chainsAndBranchKeys, PlanCreationService.EnablePlan enablePlan) Create Specs consumer used for creating divergent branchescreateDivergentBranchSpecsUpdateConsumer
(@NotNull VcsBranch branch, @NotNull Multimap<ImmutableChain, PlanKey> chainsAndBranchKeys) Create Specs consumer used for updating divergent branches
-
Method Details
-
createDefaultSpecsConsumer
SpecsConsumer createDefaultSpecsConsumer()Create Specs consumer used when Specs where run for global repository -
createDivergentBranchSpecsCreationConsumer
SpecsConsumer createDivergentBranchSpecsCreationConsumer(@NotNull @NotNull VcsBranch newBranch, @NotNull @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull @NotNull Multimap<ImmutableChain, PlanKey> chainsAndBranchKeys, @NotNull PlanCreationService.EnablePlan enablePlan) Create Specs consumer used for creating divergent branches- Parameters:
newBranch
- VCS branch for which plan branches should be createdplanBranchWorkflow
- which workflow led to creation of this chain brancheschainsAndBranchKeys
- chains for which divergent branches should be createdenablePlan
- if branches should be enabled after creation
-
createDivergentBranchSpecsUpdateConsumer
SpecsConsumer createDivergentBranchSpecsUpdateConsumer(@NotNull @NotNull VcsBranch branch, @NotNull @NotNull Multimap<ImmutableChain, PlanKey> chainsAndBranchKeys) Create Specs consumer used for updating divergent branches- Parameters:
branch
- VCS branch for which plan branches should be updatedchainsAndBranchKeys
- chains for which divergent branches should be updated
-