public class EnvironmentTriggeringActionFactoryImpl extends Object implements EnvironmentTriggeringActionFactory
Constructor and Description |
---|
EnvironmentTriggeringActionFactoryImpl(DeploymentVersionService deploymentVersionService,
DeploymentProjectService deploymentProjectService,
CachedPlanManager cachedPlanManager,
TriggerManager triggerManager,
ResultsSummaryManager resultsSummaryManager) |
public EnvironmentTriggeringActionFactoryImpl(DeploymentVersionService deploymentVersionService, DeploymentProjectService deploymentProjectService, CachedPlanManager cachedPlanManager, TriggerManager triggerManager, ResultsSummaryManager resultsSummaryManager)
public EnvironmentTriggeringAction createScheduledEnvironmentTriggeringAction(@NotNull Environment environment, @NotNull PlanKey sourceBranchKey)
EnvironmentTriggeringActionFactory
EnvironmentTriggeringAction
used during scheduled execution of Environment.createScheduledEnvironmentTriggeringAction
in interface EnvironmentTriggeringActionFactory
environment
- environment to be deployedsourceBranchKey
- key of branchpublic EnvironmentTriggeringAction createScheduledEnvironmentTriggeringAction(@NotNull Environment environment, @NotNull PlanKey sourceBranchKey, @NotNull Map<String,String> triggerConfiguration)
EnvironmentTriggeringActionFactory
EnvironmentTriggeringAction
used during scheduled execution of Environment.createScheduledEnvironmentTriggeringAction
in interface EnvironmentTriggeringActionFactory
environment
- environment to be deployedsourceBranchKey
- key of branchtriggerConfiguration
- configuration of triggerpublic EnvironmentTriggeringAction createManualEnvironmentTriggeringAction(@NotNull Environment environment, @NotNull DeploymentVersion version, @NotNull com.atlassian.user.User user)
EnvironmentTriggeringActionFactory
EnvironmentTriggeringAction
used during manual execution of Environment.createManualEnvironmentTriggeringAction
in interface EnvironmentTriggeringActionFactory
public EnvironmentTriggeringAction createAfterSuccessfulPlanEnvironmentTriggerAction(@NotNull Environment environment, @NotNull PlanResultKey planResultKey)
EnvironmentTriggeringActionFactory
EnvironmentTriggeringAction
used when Environment is triggered by a successful execution of a Chain
createAfterSuccessfulPlanEnvironmentTriggerAction
in interface EnvironmentTriggeringActionFactory
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.