EvaluationResult Class
Represents the object that contains the details of the compliance evaluation result. It contains three properties—isCompliant, complianceMessage, and complianceLogMessage.
-
Learn more about the constructors available with the
EvaluationResultclass. -
Learn more about the methods available with the
EvaluationResultclass.
Learn more about the constructors available with the EvaluationResult class.
The EvaluationResult class includes this constructor.
-
EvaluationResult(isCompliant, complianceMessage, complianceMessageLog)
Initializes an
EvaluationResultobject.
Initializes an EvaluationResult object.
public EvaluationResult(Boolean isCompliant, String complianceMessage, String complianceMessageLog)
- isCompliant
Type: Boolean
Indicates whether the compliance evaluated to
trueorfalse.- 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.
-
Gets the message stored in the log for the compliance evaluation done.
-
Gets the status of compliance for a control input.
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