Class PolicyEvaluationResult

  • public final class PolicyEvaluationResult
    extends Object
    The result of a non-compliant policy evaluation against the given resource content.
    • Constructor Detail

      • PolicyEvaluationResult

        public PolicyEvaluationResult()
    • Method Detail

      • policyInfo

        public PolicyReference policyInfo()
        Get the policyInfo property: The details of the policy that was evaluated.
        the policyInfo value.
      • evaluationResult

        public String evaluationResult()
        Get the evaluationResult property: The result of the policy evaluation against the resource. This will typically be 'NonCompliant' but may contain other values if errors were encountered.
        the evaluationResult value.
      • evaluationDetails

        public PolicyEvaluationDetails evaluationDetails()
        Get the evaluationDetails property: The detailed results of the policy expressions and values that were evaluated.
        the evaluationDetails value.
      • validate

        public void validate()
        Validates the instance.
        IllegalArgumentException - thrown if the instance is not valid.