Class SpecsConsumerFactoryImpl
java.lang.Object
com.atlassian.bamboo.configuration.external.rss.SpecsConsumerFactoryImpl
- All Implemented Interfaces:
SpecsConsumerFactory
-
Constructor Summary
ConstructorDescriptionSpecsConsumerFactoryImpl
(@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
Modifier and TypeMethodDescriptionCreate Specs consumer used when Specs where run for global repositorycreateDivergentBranchSpecsCreationConsumer
(@NotNull VcsBranch vcsBranch, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull Multimap<ImmutableChain, PlanKey> chainsAndBranchKeys, PlanCreationService.EnablePlan enablePlan) Create Specs consumer used for creating divergent branchescreateDivergentBranchSpecsUpdateConsumer
(@NotNull VcsBranch vcsBranch, @NotNull Multimap<ImmutableChain, PlanKey> chainsAndBranchKeys) Create Specs consumer used for updating divergent branches
-
Constructor Details
-
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 Details
-
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 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 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
-