public class SpecsConsumerFactoryImpl extends Object implements SpecsConsumerFactory
Constructor and Description |
---|
SpecsConsumerFactoryImpl(AdministrationConfigurationAccessor administrationConfigurationAccessor,
BambooSpecsManager bambooSpecsManager,
BuildNumberGeneratorService buildNumberGenerator,
CachedPlanManager cachedPlanManager,
ChainResultManager chainResultManager,
DeploymentImportService deploymentImportService,
com.atlassian.event.api.EventPublisher eventPublisher,
I18nBeanFactory i18nBeanFactory,
PlanConfigImportService planConfigImportService,
PlanManager planManager,
PlanPermissionService planPermissionService,
RepositoryStoredSpecsResultHelper repositoryStoredSpecsResultService,
BuildDefinitionManager buildDefinitionManager,
BuildDefinitionConverter buildDefinitionConverter) |
Modifier and Type | Method and Description |
---|---|
SpecsConsumer |
createDefaultSpecsConsumer()
Create Specs consumer used when Specs where run for global repository
|
SpecsConsumer |
createDivergentBranchSpecsCreationConsumer(VcsBranch vcsBranch,
PlanBranchWorkflow planBranchWorkflow,
com.google.common.collect.Multimap<ImmutableChain,PlanKey> chainsAndBranchKeys,
PlanCreationService.EnablePlan enablePlan)
Create Specs consumer used for creating divergent branches
|
SpecsConsumer |
createDivergentBranchSpecsUpdateConsumer(VcsBranch vcsBranch,
com.google.common.collect.Multimap<ImmutableChain,PlanKey> chainsAndBranchKeys)
Create Specs consumer used for updating divergent branches
|
@Inject public SpecsConsumerFactoryImpl(@NotNull AdministrationConfigurationAccessor administrationConfigurationAccessor, @NotNull BambooSpecsManager bambooSpecsManager, @NotNull BuildNumberGeneratorService buildNumberGenerator, @NotNull CachedPlanManager cachedPlanManager, @NotNull ChainResultManager chainResultManager, @NotNull DeploymentImportService deploymentImportService, @NotNull com.atlassian.event.api.EventPublisher eventPublisher, @NotNull I18nBeanFactory i18nBeanFactory, @NotNull PlanConfigImportService planConfigImportService, @NotNull PlanManager planManager, @NotNull PlanPermissionService planPermissionService, @NotNull RepositoryStoredSpecsResultHelper repositoryStoredSpecsResultService, @NotNull BuildDefinitionManager buildDefinitionManager, @NotNull BuildDefinitionConverter buildDefinitionConverter)
public SpecsConsumer createDefaultSpecsConsumer()
SpecsConsumerFactory
createDefaultSpecsConsumer
in interface SpecsConsumerFactory
public SpecsConsumer createDivergentBranchSpecsUpdateConsumer(@NotNull VcsBranch vcsBranch, @NotNull com.google.common.collect.Multimap<ImmutableChain,PlanKey> chainsAndBranchKeys)
SpecsConsumerFactory
createDivergentBranchSpecsUpdateConsumer
in interface SpecsConsumerFactory
vcsBranch
- VCS branch for which plan branches should be updatedchainsAndBranchKeys
- chains for which divergent branches should be updatedpublic SpecsConsumer createDivergentBranchSpecsCreationConsumer(@NotNull VcsBranch vcsBranch, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull com.google.common.collect.Multimap<ImmutableChain,PlanKey> chainsAndBranchKeys, @NotNull PlanCreationService.EnablePlan enablePlan)
SpecsConsumerFactory
createDivergentBranchSpecsCreationConsumer
in interface SpecsConsumerFactory
vcsBranch
- 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 creationCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.