All Implemented Interfaces:
Runnable, IStrategy

public class BeforeAllStrategy extends SurroundingStrategy
Defines a strategy for executing tasks before all source references have been processed. Inherits behavior from SurroundingStrategy and provides a custom builder.
  • Constructor Details

    • BeforeAllStrategy

      public BeforeAllStrategy(@NonNull @NonNull TelemetryManager telemetryManager, @NonNull @NonNull Long strategyTime, @NonNull @NonNull ClientsExecutor clientsExecutor, @NonNull @NonNull Connector connector, @NonNull @NonNull ExtensionManager extensionManager)
      Initializes a new instance of BeforeAllStrategy with the necessary components for executing the strategy. This constructor sets up the strategy with a telemetry manager, strategy execution time, a clients executor, and a specific connector to process beforeAll sources.
      Parameters:
      telemetryManager - The telemetry manager responsible for managing telemetry data (monitors and metrics).
      strategyTime - The execution time of the strategy, used for timing purpose.
      clientsExecutor - An executor service for handling client operations within the beforeAll sources.
      connector - The specific connector instance where the beforeAll sources are defined.
      extensionManager - The extension manager where all the required extensions are handled.