public class BuildDetectionActionFactoryImpl extends Object implements BuildDetectionActionFactory
Constructor and Description |
---|
BuildDetectionActionFactoryImpl(BuildNumberGeneratorService buildNumberGenerator,
ChangeDetectionManager changeDetectionManager,
TriggerManager triggerManager,
ErrorUpdateHandler errorUpdateHandler,
BuildLoggerManager buildLoggerManager,
VariableDefinitionManager variableDefinitionManager,
PlanVcsRevisionHistoryService planVcsRevisionHistoryService,
ResultsSummaryManager resultsSummaryManager,
BranchIntegrationService branchIntegrationService,
BuildContextBuilderFactory buildContextBuilderFactory,
ResultsSummaryVariableAccessor resultsSummaryVariableAccessor,
CustomVariableContext customVariableContext,
VcsRepositoryManager vcsRepositoryManager) |
Modifier and Type | Method and Description |
---|---|
BuildDetectionAction |
createBuildDetectionActionForPluginBuildTrigger(ImmutableChain chain,
PlanExecutionConfig planExecutionConfig,
TriggerReason triggerReason,
PlanTrigger buildTrigger,
Map<String,String> params,
Map<String,String> variables)
|
BuildDetectionAction |
createDependentBuildDetectionAction(ImmutableChain chain,
ImmutableChain parentChain,
BuildContext completedBuildContext)
Creates a new instance of
BuildDetectionAction that is used to trigger dependent builds |
BuildDetectionAction |
createInitialBuildDetectionAction(ImmutableChain chain)
Creates a new instance of
BuildDetectionAction that is used to execute the initial build for a Plan |
BuildDetectionAction |
createManualBuildDetectionAction(ImmutableChain chain,
com.atlassian.user.User user,
Map<String,String> params,
Map<String,String> variables)
Creates a new instance of
BuildDetectionAction that can be used to start the manual execution of Plan |
BuildDetectionAction |
createManualBuildDetectionAction(ImmutableChain chain,
com.atlassian.user.User user,
PlanExecutionConfig planExecutionConfig,
Map<String,String> params,
Map<String,String> variables)
Creates a new instance of
BuildDetectionAction that can be used to start the manual execution of Plan when manual stage is meant to continue build or build is restarted |
BuildDetectionAction |
createManualBuildDetectionAction(ImmutableChain chain,
com.atlassian.user.User user,
PlanExecutionConfig planExecutionConfig,
TriggerReason triggerReason,
PlanTrigger planTrigger,
Map<String,String> params,
Map<String,String> variables) |
BuildDetectionAction |
createManualBuildDetectionAction(ImmutableChain chain,
com.atlassian.user.User user,
TriggerReason triggerReason,
PlanTrigger planTrigger,
PlanExecutionConfig planExecutionConfig,
Map<String,String> params,
Map<String,String> variables)
Creates a new instance of
BuildDetectionAction that can be used to start the manual execution of Plan when manual stage is meant to continue build or build is restarted |
BuildDetectionAction |
createScheduledBuildDetectionAction(ImmutableChain chain,
Map<String,String> triggerConditionsConfiguration)
Creates a new instance of
BuildDetectionAction that can be used to start the scheduled execution of
Plan |
BuildDetectionAction |
createScheduledBuildDetectionAction(ImmutableChain chain,
Map<String,String> triggerConditionsConfiguration,
Map<String,String> triggerConfiguration)
Creates a new instance of
BuildDetectionAction that can be used to start the scheduled execution of
Plan |
public BuildDetectionActionFactoryImpl(BuildNumberGeneratorService buildNumberGenerator, ChangeDetectionManager changeDetectionManager, TriggerManager triggerManager, ErrorUpdateHandler errorUpdateHandler, BuildLoggerManager buildLoggerManager, VariableDefinitionManager variableDefinitionManager, PlanVcsRevisionHistoryService planVcsRevisionHistoryService, ResultsSummaryManager resultsSummaryManager, BranchIntegrationService branchIntegrationService, BuildContextBuilderFactory buildContextBuilderFactory, ResultsSummaryVariableAccessor resultsSummaryVariableAccessor, CustomVariableContext customVariableContext, VcsRepositoryManager vcsRepositoryManager)
@NotNull public BuildDetectionAction createManualBuildDetectionAction(@NotNull ImmutableChain chain, @NotNull com.atlassian.user.User user, @NotNull Map<String,String> params, @NotNull Map<String,String> variables)
BuildDetectionActionFactory
BuildDetectionAction
that can be used to start the manual execution of Plan
createManualBuildDetectionAction
in interface BuildDetectionActionFactory
params
- - additional execution parameters set in code to parametrized build - not exposed to uservariables
- - user defined variables that could be parametrized in manual execution - contain only values
changed by user in UI@NotNull public BuildDetectionAction createManualBuildDetectionAction(@NotNull ImmutableChain chain, @NotNull com.atlassian.user.User user, @Nullable PlanExecutionConfig planExecutionConfig, @NotNull Map<String,String> params, @NotNull Map<String,String> variables)
BuildDetectionActionFactory
BuildDetectionAction
that can be used to start the manual execution of Plan
when manual stage is meant to continue build or build is restartedcreateManualBuildDetectionAction
in interface BuildDetectionActionFactory
planExecutionConfig
- - controls build continuation or restartparams
- - additional execution parameters set in code to parametrized build - not exposed to uservariables
- - user defined variables that could be parametrized in manual execution - contain only values
changed by user in UI@NotNull public BuildDetectionAction createManualBuildDetectionAction(@NotNull ImmutableChain chain, @NotNull com.atlassian.user.User user, @NotNull TriggerReason triggerReason, @Nullable PlanTrigger planTrigger, @Nullable PlanExecutionConfig planExecutionConfig, @NotNull Map<String,String> params, @NotNull Map<String,String> variables)
BuildDetectionActionFactory
BuildDetectionAction
that can be used to start the manual execution of Plan
when manual stage is meant to continue build or build is restartedcreateManualBuildDetectionAction
in interface BuildDetectionActionFactory
planExecutionConfig
- - controls build continuation or restartparams
- - additional execution parameters set in code to parametrized build - not exposed to uservariables
- - user defined variables that could be parametrized in manual execution - contain only values
changed by user in UI@NotNull public BuildDetectionAction createManualBuildDetectionAction(@NotNull ImmutableChain chain, @NotNull com.atlassian.user.User user, @Nullable PlanExecutionConfig planExecutionConfig, @Nullable TriggerReason triggerReason, @Nullable PlanTrigger planTrigger, @NotNull Map<String,String> params, @NotNull Map<String,String> variables)
@NotNull public BuildDetectionAction createBuildDetectionActionForPluginBuildTrigger(@NotNull ImmutableChain chain, @Nullable PlanExecutionConfig planExecutionConfig, @NotNull TriggerReason triggerReason, @NotNull PlanTrigger buildTrigger, @NotNull Map<String,String> params, @NotNull Map<String,String> variables)
BuildDetectionActionFactory
createBuildDetectionActionForPluginBuildTrigger
in interface BuildDetectionActionFactory
planExecutionConfig
- - controls build continuation or restart@NotNull public BuildDetectionAction createScheduledBuildDetectionAction(@NotNull ImmutableChain chain, @NotNull Map<String,String> triggerConditionsConfiguration)
BuildDetectionActionFactory
BuildDetectionAction
that can be used to start the scheduled execution of
Plan
createScheduledBuildDetectionAction
in interface BuildDetectionActionFactory
@NotNull public BuildDetectionAction createScheduledBuildDetectionAction(@NotNull ImmutableChain chain, @NotNull Map<String,String> triggerConditionsConfiguration, @NotNull Map<String,String> triggerConfiguration)
BuildDetectionActionFactory
BuildDetectionAction
that can be used to start the scheduled execution of
Plan
createScheduledBuildDetectionAction
in interface BuildDetectionActionFactory
@NotNull public BuildDetectionAction createInitialBuildDetectionAction(@NotNull ImmutableChain chain)
BuildDetectionActionFactory
BuildDetectionAction
that is used to execute the initial build for a Plan
createInitialBuildDetectionAction
in interface BuildDetectionActionFactory
@NotNull public BuildDetectionAction createDependentBuildDetectionAction(@NotNull ImmutableChain chain, @NotNull ImmutableChain parentChain, @NotNull BuildContext completedBuildContext)
BuildDetectionActionFactory
BuildDetectionAction
that is used to trigger dependent buildscreateDependentBuildDetectionAction
in interface BuildDetectionActionFactory
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.