Represents the input object used by the ComplianceEvaluation interface’s evaluate method. It contains a map of ControlInput class that stores the business context value required to evaluate compliance.
1@VisibleApiVersion(minApiVersion='256')2global class ControlEvaluationInput{3 Map<ControlInput, String>controlInputMap; // Map of ControlInput class and value (business context) that is needed for evaluating compliance45 global ControlEvaluationInput(){6 this.controlInputMapRecordIdType = new Map<ControlInput, String>();7}89 global void setControlInputValue(ControlInput controlInput, String value){10 this.controlInputMapRecordIdType.put(controlInput, value);11}1213 global String getControlInputValue(ControlInput controlInput){14 return this.controlInputMapRecordIdType.get(controlInput);15}16}