Class WbemCriterion
java.lang.Object
org.sentrysoftware.metricshub.engine.connector.model.identity.criterion.Criterion
org.sentrysoftware.metricshub.engine.connector.model.identity.criterion.WqlCriterion
org.sentrysoftware.metricshub.engine.connector.model.identity.criterion.WbemCriterion
- All Implemented Interfaces:
Serializable
Represents a detection criterion based on Wbem queries.
Extends the abstract class
WqlCriterion and inherits from Criterion.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept(ICriterionProcessor criterionProcessor) Accepts the given criterion processor for evaluation.copy()Creates a copy of the WqlCriterion instance.toString()
-
Constructor Details
-
WbemCriterion
public WbemCriterion(String type, boolean forceSerialization, @NonNull @NonNull String query, String namespace, String expectedResult, String errorMessage) Constructs a newWbemCriterioninstance using the provided parameters.- Parameters:
type- The type of the criterion.forceSerialization- Flag indicating whether serialization should be forced.query- The Wbem query for the criterion.namespace- The namespace for the Wbem query.expectedResult- The expected result of the criterion.errorMessage- The error message associated with the criterion.
-
-
Method Details
-
copy
Description copied from class:WqlCriterionCreates a copy of the WqlCriterion instance.- Specified by:
copyin classWqlCriterion- Returns:
- A new instance of the WqlCriterion with the same attributes.
-
toString
- Overrides:
toStringin classWqlCriterion
-
accept
Description copied from class:CriterionAccepts the given criterion processor for evaluation.
-