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

public class AutomaticDetection extends AbstractConnectorProcessor
The AutomaticDetection class represents a strategy for automatically detecting connectors based on predefined criteria. It extends the AbstractConnectorProcessor class and implements the connector detection logic.

The automatic detection process involves filtering connectors based on various criteria such as device kind, connection type, accepted sources, and exclusion tags. The results of the detection are stored in ConnectorTestResult objects.

The detection process includes device kind filtering, connection type filtering, and accepted sources filtering. It also checks if auto-detection is disabled for connectors.

  • Constructor Details

    • AutomaticDetection

      public AutomaticDetection(@NonNull @NonNull TelemetryManager telemetryManager, @NonNull @NonNull ClientsExecutor clientsExecutor, @NonNull @NonNull Set<String> connectorIds, @NonNull @NonNull ExtensionManager extensionManager)
      Constructs a new AutomaticDetection 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 automatic detection.
      extensionManager - The extension manager where all the required extensions are handled.
  • Method Details