java.lang.Object
org.sentrysoftware.metricshub.engine.strategy.detection.AbstractConnectorProcessor
org.sentrysoftware.metricshub.engine.strategy.detection.ConnectorSelection

public class ConnectorSelection extends AbstractConnectorProcessor
The ConnectorSelection class represents a strategy for selecting specific connectors based on predefined criteria. It extends the AbstractConnectorProcessor class and implements the connector selection logic.

The connector selection process involves filtering connectors based on case-sensitive and case-insensitive lists of selected connectors. The results of the selection are stored in ConnectorTestResult objects.

The class checks the host configuration and connector store availability before proceeding with the selection. It utilizes the configured lists of selected connectors, considering both case-sensitive and case-insensitive sets.

  • Constructor Details

    • ConnectorSelection

      public ConnectorSelection(@NonNull @NonNull TelemetryManager telemetryManager, @NonNull @NonNull ClientsExecutor clientsExecutor, @NonNull @NonNull Set<String> connectorIds, @NonNull @NonNull ExtensionManager extensionManager)
      Constructs a new ConnectorSelection instance using the provided telemetry manager and clients executor.
      Parameters:
      telemetryManager - The telemetry manager responsible for managing telemetry-related operations.
      clientsExecutor - The executor for managing clients used in the strategy.
      connectorIds - The set of connector identifiers that represent the connectors involved in the connector selection.
      extensionManager - The extension manager where all the required extensions are handled.
  • Method Details