Class PolicyDryRunResult

java.lang.Object
org.netxms.client.assess.PolicyDryRunResult

public class PolicyDryRunResult extends Object
Result of compliance policy dry run: evaluation of policy against selection of objects with current data, without storing anything on the server.
  • Constructor Details

    • PolicyDryRunResult

      public PolicyDryRunResult(NXCPMessage msg)
      Create dry run result from NXCP message.
      Parameters:
      msg - NXCP message
  • Method Details

    • getExaminedCount

      public int getExaminedCount()
      Returns:
      number of objects checked for being in scope (nodes accessible by current user)
    • getInScopeCount

      public int getInScopeCount()
      Returns:
      number of objects the policy is applicable to and that match the selection
    • getPassedCount

      public int getPassedCount()
      Returns:
      number of objects that satisfy the policy
    • getFailedCount

      public int getFailedCount()
      Returns:
      number of objects that violate the policy
    • getNotAssessableCount

      public int getNotAssessableCount()
      Returns:
      number of objects that cannot be assessed
    • getNotEvaluatedCount

      public int getNotEvaluatedCount()
      Returns:
      number of objects left out because server reached time limit (0 if dry run is complete)
    • getExamples

      public List<PolicyDryRunResult.Example> getExamples()
      Returns:
      evaluated objects (server limits number of objects returned for each result)