All Implemented Interfaces:
Serializable

public class WbemCriterion extends WqlCriterion
Represents a detection criterion based on Wbem queries. Extends the abstract class WqlCriterion and inherits from Criterion.
See Also:
  • Constructor Details

    • WbemCriterion

      public WbemCriterion(String type, boolean forceSerialization, @NonNull @NonNull String query, String namespace, String expectedResult, String errorMessage)
      Constructs a new WbemCriterion instance 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

      public WbemCriterion copy()
      Description copied from class: WqlCriterion
      Creates a copy of the WqlCriterion instance.
      Specified by:
      copy in class WqlCriterion
      Returns:
      A new instance of the WqlCriterion with the same attributes.
    • toString

      public String toString()
      Overrides:
      toString in class WqlCriterion
    • accept

      public CriterionTestResult accept(ICriterionProcessor criterionProcessor)
      Description copied from class: Criterion
      Accepts the given criterion processor for evaluation.
      Specified by:
      accept in class Criterion
      Parameters:
      criterionProcessor - The criterion processor to accept.
      Returns:
      The result of the criterion test.