Class EnvironmentPersistenceHelper
java.lang.Object
com.atlassian.bamboo.deployments.environments.persistence.EnvironmentPersistenceHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
saveEnvironmentWithNoSchedules
(@NotNull MutableEnvironment environment, @NotNull EnvironmentDao environmentDao, @NotNull PlanScheduler planScheduler) Helper method that persist environment configuration, while pausing its triggers.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.
-
Method Details
-
saveEnvironmentWithNoSchedules
public static void saveEnvironmentWithNoSchedules(@NotNull @NotNull MutableEnvironment environment, @NotNull @NotNull EnvironmentDao environmentDao, @NotNull @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 @NotNull MutableEnvironment environment, @Nullable @Nullable BuildConfiguration newTriggersConfiguration, @NotNull @NotNull EnvironmentDao environmentDao, @NotNull @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
-
-