Class Detection
java.lang.Object
org.sentrysoftware.metricshub.engine.connector.model.identity.Detection
- All Implemented Interfaces:
Serializable
Represents the detection information of a connector.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDetection(Set<ConnectionType> connectionTypes, boolean disableAutoDetection, String onLastResort, @NonNull Set<DeviceKind> appliesTo, Set<String> supersedes, List<Criterion> criteria, Set<String> tags) Constructs a new instance of theDetectionclass using the provided parameters. -
Method Summary
-
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 theDetectionclass using the provided parameters.- Parameters:
connectionTypes- Set of connection types for the connector. If null, defaults to a set containingConnectionType.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.
-