Class ServiceCriterion
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
Represents a detection criterion based on a service. This criterion checks whether the specified service is present.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionServiceCriterion(String type, boolean forceSerialization, @NonNull String name) Constructor to create an instance ofServiceCriterionusing a builder. -
Method Summary
Modifier and TypeMethodDescriptionaccept(ICriterionProcessor criterionProcessor) Accepts the given criterion processor for evaluation.toString()
-
Constructor Details
-
ServiceCriterion
Constructor to create an instance ofServiceCriterionusing 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