Class AbstractCriterion
java.lang.Object
org.metricshub.maven.plugin.connector.producer.model.criteria.AbstractCriterion
- Direct Known Subclasses:
AbstractSnmpCriterion,AbstractWqlCriterion,CommandLineCriterion,DeviceTypeCriterion,HttpCriterion,IpmiCriterion,JmxCriterion,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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidproduce(org.apache.maven.doxia.sink.Sink sink) Produces the criterion in the given sink.
-
Constructor Details
-
AbstractCriterion
public AbstractCriterion()
-
-
Method Details
-
produce
public abstract void produce(org.apache.maven.doxia.sink.Sink sink) Produces the criterion in the given sink.- Parameters:
sink- The sink to produce the criterion in.
-