com.atlassian.bamboo.deployments.environments.persistence
Class EnvironmentPersistenceHelper
java.lang.Object
com.atlassian.bamboo.deployments.environments.persistence.EnvironmentPersistenceHelper
@Internal
public class EnvironmentPersistenceHelper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
saveEnvironmentWithNoSchedules
public static void saveEnvironmentWithNoSchedules(@NotNull
MutableEnvironment environment,
@NotNull
EnvironmentDao environmentDao,
@NotNull
PlanScheduler planScheduler)
- Helper method that persist environment configuration, while pausing its triggers.
Used when triggers configuration does not change
- Parameters:
environment
- environmentDao
- planScheduler
-
saveEnvironmentWithNoSchedules
public static void saveEnvironmentWithNoSchedules(@NotNull
MutableEnvironment environment,
@Nullable
BuildConfiguration newTriggersConfiguration,
@NotNull
EnvironmentDao environmentDao,
@NotNull
PlanScheduler planScheduler)
- Helper method that persist environment configuration, while pausing its triggers.
Used when triggers configuration is being changed
- Parameters:
environment
- environment object including old triggers configurationnewTriggersConfiguration
- new triggers configurationenvironmentDao
- planScheduler
-
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.