Class EnvironmentPersistenceHelper

java.lang.Object
com.atlassian.bamboo.deployments.environments.persistence.EnvironmentPersistenceHelper

@Internal public class EnvironmentPersistenceHelper extends Object
  • 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 configuration
      newTriggersConfiguration - new triggers configuration
      environmentDao -
      planScheduler -