Class EnvironmentServiceHelper
java.lang.Object
com.atlassian.bamboo.deployments.environments.service.EnvironmentServiceHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
applyConsumerToAllInternalEnvironmentsNoUserContext
(@NotNull CachedEnvironmentService cachedEnvironmentService, @NotNull EnvironmentService environmentService, @NotNull Consumer<? super InternalEnvironment> consumer) Applies a consumer to all environments in the system.static void
applyConsumerToAllInternalEnvironmentsNoUserContext
(@NotNull EnvironmentService environmentService, @NotNull Consumer<? super InternalEnvironment> consumer) Applies a consumer to all environments in the system.
-
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 withInternalEnvironment
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 withInternalEnvironment
interface and not a specific implementation.
-