Interface SpecsConsumerFactory
-
- All Known Implementing Classes:
SpecsConsumerFactoryImpl
@ExperimentalApi public interface SpecsConsumerFactory
Factory for creatingSpecsConsumer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SpecsConsumer
createDefaultSpecsConsumer()
Create Specs consumer used when Specs where run for global repositorySpecsConsumer
createDivergentBranchSpecsCreationConsumer(@NotNull VcsBranch newBranch, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull com.google.common.collect.Multimap<ImmutableChain,PlanKey> chainsAndBranchKeys, PlanCreationService.EnablePlan enablePlan)
Create Specs consumer used for creating divergent branchesSpecsConsumer
createDivergentBranchSpecsUpdateConsumer(@NotNull VcsBranch branch, @NotNull com.google.common.collect.Multimap<ImmutableChain,PlanKey> chainsAndBranchKeys)
Create Specs consumer used for updating divergent branches
-
-
-
Method Detail
-
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 com.google.common.collect.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 com.google.common.collect.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
-
-