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