@Internal public class EnvironmentPersistenceHelper extends Object
Modifier and Type | Method and Description |
---|---|
static void |
saveEnvironmentWithNoSchedules(MutableEnvironment environment,
BuildConfiguration newTriggersConfiguration,
EnvironmentDao environmentDao,
PlanScheduler planScheduler)
Helper method that persist environment configuration, while pausing its triggers.
|
static void |
saveEnvironmentWithNoSchedules(MutableEnvironment environment,
EnvironmentDao environmentDao,
PlanScheduler planScheduler)
Helper method that persist environment configuration, while pausing its triggers.
|
public static void saveEnvironmentWithNoSchedules(@NotNull MutableEnvironment environment, @NotNull EnvironmentDao environmentDao, @NotNull PlanScheduler planScheduler)
environment
- environmentDao
- planScheduler
- public static void saveEnvironmentWithNoSchedules(@NotNull MutableEnvironment environment, @Nullable BuildConfiguration newTriggersConfiguration, @NotNull EnvironmentDao environmentDao, @NotNull PlanScheduler planScheduler)
environment
- environment object including old triggers configurationnewTriggersConfiguration
- new triggers configurationenvironmentDao
- planScheduler
- Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.