All Implemented Interfaces:
Runnable, IStrategy

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

    • AfterAllStrategy

      public AfterAllStrategy(@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 AfterAllStrategy 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 afterAll 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 afterAll sources.
      connector - The specific connector instance where the afterAll sources are defined.
      extensionManager - The extension manager where all the required extensions are handled.