EvaluationResult Class

Represents the object that contains the details of the compliance evaluation result. It contains three properties—isCompliant, complianceMessage, and complianceLogMessage.

ComplianceMgmt

Learn more about the constructors available with the EvaluationResult class.

The EvaluationResult class includes this constructor.

Initializes an EvaluationResult object.

public EvaluationResult(Boolean isCompliant, String complianceMessage, String complianceMessageLog)

isCompliant

Type: Boolean

Indicates whether the compliance evaluated to true or false.

complianceMessage

Type: String

Message associated with the completed evaluation. Maximum length supported for compliance message is 1024 characters.

complianceMessageLog

Type: String

Message stored in compliance logs for the evaluation done. Maximum length supported for compliance message log is 1024 characters.

Learn more about the methods available with the EvaluationResult class.

The EvaluationResult class includes these methods.

Gets the message associated with the completed compliance.

public String getComplianceMessage()

Type: String

Gets the message stored in the log for the compliance evaluation done.

public String getComplianceMessageLog()

Type: String

Gets the status of compliance for a control input.

public Boolean getIsCompliant()

Type: Boolean