public class PolicyUtil
extends java.lang.Object
Constructor and Description |
---|
PolicyUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
checkValidity(java.util.Map policies)
determine if a given set of policies is consistent
called e.g., from PolicyManager operations to check if
arguments are okay.
|
static boolean |
isInvocationPolicy(int policyType)
determine if a policy applies to operation invocations or not,
called e.g., from PolicyManager operations to check if
arguments are okay.
|
public static boolean isInvocationPolicy(int policyType)
public static void checkValidity(java.util.Map policies) throws InvalidPolicies
InvalidPolicies
- a list of indices identifying the
position in the input policies list that are occupied by
invalid policies