Interface PolicyFilter
-
public interface PolicyFilterThis interface represents a mechanism to filter that can be used to identify a policy from a given set of policies.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanmatches(Policy policy)Whether the given policy artifact matches the expected filter criteria.
-
-
-
Method Detail
-
matches
boolean matches(Policy policy) throws GovernanceException
Whether the given policy artifact matches the expected filter criteria.- Parameters:
policy- the policy artifact.- Returns:
- true if a match was found or false otherwise.
- Throws:
GovernanceException- if the operation failed.
-
-