Class SnmpGetCriterion
java.lang.Object
org.sentrysoftware.metricshub.engine.connector.model.identity.criterion.Criterion
org.sentrysoftware.metricshub.engine.connector.model.identity.criterion.SnmpCriterion
org.sentrysoftware.metricshub.engine.connector.model.identity.criterion.SnmpGetCriterion
- All Implemented Interfaces:
Serializable
Represents an SNMP GET criterion used for detection.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSnmpGetCriterion(String type, boolean forceSerialization, @NonNull String oid, String expectedResult) Constructs an SNMP GET criterion with the specified type, forceSerialization flag, OID, and expected result. -
Method Summary
Modifier and TypeMethodDescriptionaccept(ICriterionProcessor criterionProcessor) Accepts the given criterion processor for evaluation.
-
Constructor Details
-
SnmpGetCriterion
public SnmpGetCriterion(String type, boolean forceSerialization, @NonNull @NonNull String oid, String expectedResult) Constructs an SNMP GET criterion with the specified type, forceSerialization flag, OID, and expected result.- Parameters:
type- The type of the SNMP GET criterion.forceSerialization- A flag indicating whether serialization should be forced.oid- The SNMP OID (Object Identifier) for the GET operation.expectedResult- The expected result for the GET operation, or null if no specific result is expected.
-
-
Method Details