Package org.netxms.client.assess
Class PolicyDryRunResult
java.lang.Object
org.netxms.client.assess.PolicyDryRunResult
Result of compliance policy dry run: evaluation of policy against selection of objects with current data,
without storing anything on the server.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classObject evaluated by dry run -
Constructor Summary
ConstructorsConstructorDescriptionCreate dry run result from NXCP message. -
Method Summary
Modifier and TypeMethodDescriptionintintintintintint
-
Constructor Details
-
PolicyDryRunResult
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
- Returns:
- evaluated objects (server limits number of objects returned for each result)
-