public class RegistrationPolicyPredicate extends AbstractRegistrationInfoPredicate
RegistrationPolicy.| Constructor and Description |
|---|
RegistrationPolicyPredicate(Collection<String> policies)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doApply(RegistrationInfo info)
Override this method to implement the predicate.
|
Set<String> |
getPolicies()
Get the policy criteria.
|
apply, getMatchIfMetadataSilent, getRegistrationInfo, setMatchIfMetadataSilentpublic RegistrationPolicyPredicate(@Nonnull @NonnullElements Collection<String> policies)
policies - the policies to test for@Nonnull @NonnullElements @Unmodifiable @NotLive public Set<String> getPolicies()
protected boolean doApply(@Nonnull RegistrationInfo info)
doApply in class AbstractRegistrationInfoPredicateinfo - the information to evaluateCopyright © 2021. All rights reserved.