public interface BuildDetectionActionFactory
BuildDetectionAction
'sModifier 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,
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)
Deprecated.
since 5.11
|
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 |
@NotNull BuildDetectionAction createManualBuildDetectionAction(@NotNull ImmutableChain chain, @NotNull com.atlassian.user.User user, @NotNull Map<String,String> params, @NotNull Map<String,String> variables)
BuildDetectionAction
that can be used to start the manual execution of Plan
chain
- user
- 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 BuildDetectionAction createManualBuildDetectionAction(@NotNull ImmutableChain chain, @NotNull com.atlassian.user.User user, @Nullable PlanExecutionConfig planExecutionConfig, @NotNull Map<String,String> params, @NotNull Map<String,String> variables)
BuildDetectionAction
that can be used to start the manual execution of Plan
when manual stage is meant to continue build or build is restartedchain
- user
- 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 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)
BuildDetectionAction
that can be used to start the manual execution of Plan
when manual stage is meant to continue build or build is restartedchain
- user
- triggerReason
- planTrigger
- 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 @Deprecated BuildDetectionAction createScheduledBuildDetectionAction(@NotNull ImmutableChain chain, @NotNull Map<String,String> triggerConditionsConfiguration)
BuildDetectionAction
that can be used to start the scheduled execution of
Plan
chain
- triggerConditionsConfiguration
- @NotNull BuildDetectionAction createScheduledBuildDetectionAction(@NotNull ImmutableChain chain, @NotNull Map<String,String> triggerConditionsConfiguration, @NotNull Map<String,String> triggerConfiguration)
BuildDetectionAction
that can be used to start the scheduled execution of
Plan
chain
- triggerConditionsConfiguration
- triggerConfiguration
- @NotNull BuildDetectionAction createInitialBuildDetectionAction(@NotNull ImmutableChain chain)
BuildDetectionAction
that is used to execute the initial build for a Plan
chain
- @NotNull BuildDetectionAction createDependentBuildDetectionAction(@NotNull ImmutableChain chain, @NotNull ImmutableChain parentChain, @NotNull BuildContext completedBuildContext)
BuildDetectionAction
that is used to trigger dependent buildschain
- parentChain
- completedBuildContext
- @NotNull BuildDetectionAction createBuildDetectionActionForPluginBuildTrigger(@NotNull ImmutableChain chain, @Nullable PlanExecutionConfig planExecutionConfig, @NotNull TriggerReason triggerReason, @NotNull PlanTrigger buildTrigger, @NotNull Map<String,String> params, @NotNull Map<String,String> variables)
chain
- planExecutionConfig
- - controls build continuation or restarttriggerReason
- buildTrigger
- params
- variables
- Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.