Newer Version Available

This content describes an older version of this product. View Latest

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.

Namespace

ComplianceMgmt

Usage

Evaluates compliance by passing the parameter name and value.

ComplianceEvaluation Methods

Learn more about the methods available with the ComplianceEvaluation interface.

The ComplianceEvaluation interface includes these methods.

evaluate(var1)

Evaluates compliance by using ControlEvaluationInput class.

Signature

public ComplianceMgmt.ComplianceEvaluationResponse evaluate(ComplianceMgmt.ControlEvaluationInput var1)

Parameters

var1
Type: ComplianceMgmt.ControlEvaluationInput
The input class to perform an evaluation.

Return Value

Type: ComplianceMgmt.ComplianceEvaluationResponse

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

ComplianceEvaluation Example Implementation

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: