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