Class EnvironmentTriggeringActionFactoryImpl
java.lang.Object
com.atlassian.bamboo.deployments.execution.triggering.EnvironmentTriggeringActionFactoryImpl
- All Implemented Interfaces:
EnvironmentTriggeringActionFactory
public class EnvironmentTriggeringActionFactoryImpl
extends Object
implements EnvironmentTriggeringActionFactory
-
Constructor Summary
ConstructorDescriptionEnvironmentTriggeringActionFactoryImpl
(DeploymentVersionService deploymentVersionService, DeploymentProjectService deploymentProjectService, CachedPlanManager cachedPlanManager, TriggerManager triggerManager, ResultsSummaryManager resultsSummaryManager, DeploymentResultService deploymentResultService) -
Method Summary
Modifier and TypeMethodDescriptioncreateAfterSuccessfulPlanEnvironmentTriggerAction
(@NotNull Environment environment, @NotNull PlanResultKey planResultKey) CreatesEnvironmentTriggeringAction
used when Environment is triggered by a successful execution of aChain
createManualEnvironmentTriggeringAction
(@NotNull Environment environment, @NotNull DeploymentVersion version, @NotNull com.atlassian.user.User user, @org.jetbrains.annotations.NotNull boolean isVerboseLoggingOn) CreatesEnvironmentTriggeringAction
used during manual execution of Environment.createScheduledEnvironmentTriggeringAction
(@NotNull Environment environment, @NotNull PlanKey sourceBranchKey) CreatesEnvironmentTriggeringAction
used during scheduled execution of Environment.createScheduledEnvironmentTriggeringAction
(@NotNull Environment environment, @NotNull PlanKey sourceBranchKey, @NotNull Map<String, String> triggerConfiguration) CreatesEnvironmentTriggeringAction
used during scheduled execution of Environment.
-
Constructor Details
-
EnvironmentTriggeringActionFactoryImpl
@Inject public EnvironmentTriggeringActionFactoryImpl(DeploymentVersionService deploymentVersionService, DeploymentProjectService deploymentProjectService, CachedPlanManager cachedPlanManager, TriggerManager triggerManager, ResultsSummaryManager resultsSummaryManager, DeploymentResultService deploymentResultService)
-
-
Method Details
-
createScheduledEnvironmentTriggeringAction
public EnvironmentTriggeringAction createScheduledEnvironmentTriggeringAction(@NotNull @NotNull Environment environment, @NotNull @NotNull PlanKey sourceBranchKey) Description copied from interface:EnvironmentTriggeringActionFactory
CreatesEnvironmentTriggeringAction
used during scheduled execution of Environment.- Specified by:
createScheduledEnvironmentTriggeringAction
in interfaceEnvironmentTriggeringActionFactory
- Parameters:
environment
- environment to be deployedsourceBranchKey
- key of branch
-
createScheduledEnvironmentTriggeringAction
public EnvironmentTriggeringAction createScheduledEnvironmentTriggeringAction(@NotNull @NotNull Environment environment, @NotNull @NotNull PlanKey sourceBranchKey, @NotNull @NotNull Map<String, String> triggerConfiguration) Description copied from interface:EnvironmentTriggeringActionFactory
CreatesEnvironmentTriggeringAction
used during scheduled execution of Environment.- Specified by:
createScheduledEnvironmentTriggeringAction
in interfaceEnvironmentTriggeringActionFactory
- Parameters:
environment
- environment to be deployedsourceBranchKey
- key of branchtriggerConfiguration
- configuration of trigger
-
createManualEnvironmentTriggeringAction
public EnvironmentTriggeringAction createManualEnvironmentTriggeringAction(@NotNull @NotNull Environment environment, @NotNull @NotNull DeploymentVersion version, @NotNull @NotNull com.atlassian.user.User user, @NotNull @org.jetbrains.annotations.NotNull boolean isVerboseLoggingOn) Description copied from interface:EnvironmentTriggeringActionFactory
CreatesEnvironmentTriggeringAction
used during manual execution of Environment.- Specified by:
createManualEnvironmentTriggeringAction
in interfaceEnvironmentTriggeringActionFactory
-
createAfterSuccessfulPlanEnvironmentTriggerAction
public EnvironmentTriggeringAction createAfterSuccessfulPlanEnvironmentTriggerAction(@NotNull @NotNull Environment environment, @NotNull @NotNull PlanResultKey planResultKey) Description copied from interface:EnvironmentTriggeringActionFactory
CreatesEnvironmentTriggeringAction
used when Environment is triggered by a successful execution of aChain
- Specified by:
createAfterSuccessfulPlanEnvironmentTriggerAction
in interfaceEnvironmentTriggeringActionFactory
-