PolicySetResult Class

Definition

Result of a policy set evaluation.

public final class PolicySetResult
Inheritance
java.lang.Object
PolicySetResult

Inherited Members

java.lang.Object.clone() java.lang.Object.equals(java.lang.Object) java.lang.Object.finalize() java.lang.Object.getClass() java.lang.Object.hashCode() java.lang.Object.notify() java.lang.Object.notifyAll() java.lang.Object.toString() java.lang.Object.wait() java.lang.Object.wait(long) java.lang.Object.wait(long,int)

Constructors

PolicySetResult()

Methods

hasError()

Get the hasError property: A value indicating whether this policy set evaluation has discovered violations.

policyViolations()

Get the policyViolations property: The list of policy violations.

validate()

Validates the instance.

withHasError(Boolean hasError)

Set the hasError property: A value indicating whether this policy set evaluation has discovered violations.

withPolicyViolations(List<PolicyViolation> policyViolations)

Set the policyViolations property: The list of policy violations.

Applies to