Class EnvironmentServiceHelper

java.lang.Object
com.atlassian.bamboo.deployments.environments.service.EnvironmentServiceHelper

@Internal public class EnvironmentServiceHelper extends Object
  • Method Details

    • applyConsumerToAllInternalEnvironmentsNoUserContext

      public static void applyConsumerToAllInternalEnvironmentsNoUserContext(@NotNull @NotNull EnvironmentService environmentService, @NotNull @NotNull Consumer<? super InternalEnvironment> consumer)
      Applies a consumer to all environments in the system. Note that the method only guarantees that objects are compatible with InternalEnvironment interface and not a specific implementation.
    • applyConsumerToAllInternalEnvironmentsNoUserContext

      public static void applyConsumerToAllInternalEnvironmentsNoUserContext(@NotNull @NotNull CachedEnvironmentService cachedEnvironmentService, @NotNull @NotNull EnvironmentService environmentService, @NotNull @NotNull Consumer<? super InternalEnvironment> consumer)
      Applies a consumer to all environments in the system. Note that the method only guarantees that objects are compatible with InternalEnvironment interface and not a specific implementation.