java.lang.Object
org.metricshub.maven.plugin.connector.producer.model.criteria.AbstractCriterion
Direct Known Subclasses:
AbstractSnmpCriterion, AbstractWqlCriterion, CommandLineCriterion, DeviceTypeCriterion, HttpCriterion, IpmiCriterion, ProcessCriterion, ProductRequirementsCriterion, ServiceCriterion, SqlCriterion

public abstract class AbstractCriterion extends Object
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 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.