java.lang.Object
org.sentrysoftware.metricshub.engine.connector.model.identity.criterion.Criterion
org.sentrysoftware.metricshub.engine.connector.model.identity.criterion.ServiceCriterion
All Implemented Interfaces:
Serializable

public class ServiceCriterion extends Criterion
Represents a detection criterion based on a service. This criterion checks whether the specified service is present.
See Also:
  • Constructor Details

    • ServiceCriterion

      public ServiceCriterion(String type, boolean forceSerialization, @NonNull @NonNull String name)
      Constructor to create an instance of ServiceCriterion using a builder.
      Parameters:
      type - Type of the criterion.
      forceSerialization - Flag indicating whether serialization should be forced.
      name - The name of the service for the criterion.
  • Method Details