java.lang.Object
org.sentrysoftware.metricshub.engine.connector.model.identity.Detection
All Implemented Interfaces:
Serializable

public class Detection extends Object implements Serializable
Represents the detection information of a connector.
See Also:
  • Constructor Details

    • Detection

      public Detection(Set<ConnectionType> connectionTypes, boolean disableAutoDetection, String onLastResort, @NonNull @NonNull Set<DeviceKind> appliesTo, Set<String> supersedes, List<Criterion> criteria, Set<String> tags)
      Constructs a new instance of the Detection class using the provided parameters.
      Parameters:
      connectionTypes - Set of connection types for the connector. If null, defaults to a set containing ConnectionType.LOCAL.
      disableAutoDetection - Flag indicating whether auto-detection is disabled for the connector.
      onLastResort - Specifies the behavior on the last resort.
      appliesTo - Set of device kinds to which the detection applies. Must not be null.
      supersedes - Set of connectors superseded by this connector. If null, defaults to an empty set.
      criteria - List of criteria defining the detection conditions. If null, defaults to an empty list.
      tags - Set of tags associated with the connector. If null, defaults to an empty set.