Package com.cedarpolicy.model
Class ValidationRequest
java.lang.Object
com.cedarpolicy.model.ValidationRequest
Information passed to Cedar for validation.
-
Constructor Summary
ConstructorsConstructorDescriptionValidationRequest(Schema schema, Map<String, String> policySet) Construct a validation request.ValidationRequest(Schema schema, Set<Policy> policySet) -
Method Summary
-
Constructor Details
-
ValidationRequest
Construct a validation request.- Parameters:
schema- Schema for the requestpolicySet- Map of Policy ID to policy.
-
ValidationRequest
-
-
Method Details
-
getSchema
Get the schema.- Returns:
- The schema.
-
getPolicySet
Get the policy set.- Returns:
- Map of policy ID to policy.
-
equals
Test equality. -
hashCode
public int hashCode()Hash. -
toString
Get readable string representation.
-