Class ProcessCriterion
java.lang.Object
org.sentrysoftware.metricshub.engine.connector.model.identity.criterion.Criterion
org.sentrysoftware.metricshub.engine.connector.model.identity.criterion.ProcessCriterion
- All Implemented Interfaces:
Serializable
Represents a process detection criterion.
This criterion allows the detection of processes based on their command line.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProcessCriterion(String type, boolean forceSerialization, @NonNull String commandLine) Builder for constructing instances ofProcessCriterion. -
Method Summary
Modifier and TypeMethodDescriptionaccept(ICriterionProcessor criterionProcessor) Accepts the given criterion processor for evaluation.
-
Constructor Details
-
ProcessCriterion
public ProcessCriterion(String type, boolean forceSerialization, @NonNull @NonNull String commandLine) Builder for constructing instances ofProcessCriterion.- Parameters:
type- Type of the criterion.forceSerialization- Flag indicating whether serialization should be forced.commandLine- The command line associated with the process criterion.
-
-
Method Details