com.atlassian.bamboo.deployments.environments.persistence
Class EnvironmentPersistenceHelper

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

public class EnvironmentPersistenceHelper
extends java.lang.Object


Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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 configuration
newTriggersConfiguration - new triggers configuration
environmentDao -
planScheduler -


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.