Class SpecsConsumerFactoryImpl
- java.lang.Object
-
- com.atlassian.bamboo.configuration.external.rss.SpecsConsumerFactoryImpl
-
- All Implemented Interfaces:
SpecsConsumerFactory
public class SpecsConsumerFactoryImpl extends Object implements SpecsConsumerFactory
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SpecsConsumer
createDefaultSpecsConsumer()
Create Specs consumer used when Specs where run for global repositorySpecsConsumer
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 branchesSpecsConsumer
createDivergentBranchSpecsUpdateConsumer(@NotNull VcsBranch vcsBranch, @NotNull com.google.common.collect.Multimap<ImmutableChain,PlanKey> chainsAndBranchKeys)
Create Specs consumer used for updating divergent branches
-
-
-
Constructor Detail
-
SpecsConsumerFactoryImpl
@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)
-
-
Method Detail
-
createDefaultSpecsConsumer
public SpecsConsumer createDefaultSpecsConsumer()
Description copied from interface:SpecsConsumerFactory
Create Specs consumer used when Specs where run for global repository- Specified by:
createDefaultSpecsConsumer
in interfaceSpecsConsumerFactory
-
createDivergentBranchSpecsUpdateConsumer
public SpecsConsumer createDivergentBranchSpecsUpdateConsumer(@NotNull @NotNull VcsBranch vcsBranch, @NotNull @NotNull com.google.common.collect.Multimap<ImmutableChain,PlanKey> chainsAndBranchKeys)
Description copied from interface:SpecsConsumerFactory
Create Specs consumer used for updating divergent branches- Specified by:
createDivergentBranchSpecsUpdateConsumer
in interfaceSpecsConsumerFactory
- Parameters:
vcsBranch
- VCS branch for which plan branches should be updatedchainsAndBranchKeys
- chains for which divergent branches should be updated
-
createDivergentBranchSpecsCreationConsumer
public SpecsConsumer createDivergentBranchSpecsCreationConsumer(@NotNull @NotNull VcsBranch vcsBranch, @NotNull @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull @NotNull com.google.common.collect.Multimap<ImmutableChain,PlanKey> chainsAndBranchKeys, @NotNull PlanCreationService.EnablePlan enablePlan)
Description copied from interface:SpecsConsumerFactory
Create Specs consumer used for creating divergent branches- Specified by:
createDivergentBranchSpecsCreationConsumer
in interfaceSpecsConsumerFactory
- Parameters:
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 creation
-
-