Class EnvironmentServiceHelper
java.lang.Object
com.atlassian.bamboo.deployments.environments.service.EnvironmentServiceHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
applyConsumerToAllEnvironmentsNoUserContext
(@NotNull EnvironmentService environmentService, @NotNull Consumer<? super Environment> consumer) Deprecated.static void
applyConsumerToAllInternalEnvironmentsNoUserContext
(@NotNull EnvironmentService environmentService, @NotNull Consumer<? super InternalEnvironment> consumer) Applies a consumer to all environments in the system.
-
Method Details
-
applyConsumerToAllEnvironmentsNoUserContext
@Deprecated public static void applyConsumerToAllEnvironmentsNoUserContext(@NotNull @NotNull EnvironmentService environmentService, @NotNull @NotNull Consumer<? super Environment> consumer) Deprecated.since 9.3 due to poor performance, useapplyConsumerToAllInternalEnvironmentsNoUserContext(EnvironmentService, Consumer)
instead -
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(EnvironmentService, Consumer)
instead