ComplianceEvaluation Interface

Contains a method to evaluate compliance control. Add logic to compute compliance in the evaluate(var1) method by using the data from ControlEvaluationInput class.

ComplianceMgmt

Evaluates compliance by passing the parameter name and value.

Learn more about the methods available with the ComplianceEvaluation interface.

The ComplianceEvaluation interface includes these methods.

  • evaluate(var1)

    Evaluates compliance by using ControlEvaluationInput class.

Evaluates compliance by using ControlEvaluationInput class.

public ComplianceMgmt.ComplianceEvaluationResponse evaluate(ComplianceMgmt.ControlEvaluationInput var1)

var1

Type: ComplianceMgmt.ControlEvaluationInput

The input class to perform an evaluation.

Type: ComplianceMgmt.ComplianceEvaluationResponse

The output class that represents compliance evaluation response from a control evaluation.

Refer to the example implementation of the ComplianceEvaluation interface to evaluate the compliance.

This is an example implementation of the ComplianceMgmt.ComplianceEvaluation interface.

This example tests the implementation: