Class AbstractCriterion
java.lang.Object
org.sentrysoftware.maven.metricshub.connector.producer.model.criteria.AbstractCriterion
- Direct Known Subclasses:
AbstractSnmpCriterion
,AbstractWqlCriterion
,CommandLineCriterion
,DeviceTypeCriterion
,HttpCriterion
,IpmiCriterion
,ProcessCriterion
,ProductRequirementsCriterion
,ServiceCriterion
,SqlCriterion
Abstract class representing a criterion.
This abstract class defines the contract for criterion types, providing a method to accept a visitor implementing specific business logic.
This abstract class also exposes shared methods that are accessible to each criterion.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
accept
(ICriterionVisitor visitor) Accepts the given visitor.
-
Constructor Details
-
AbstractCriterion
public AbstractCriterion()
-
-
Method Details
-
accept
Accepts the given visitor.- Parameters:
visitor
- The visitor class with its specific business logic.
-