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, setMatchIfMetadataSilent
public 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 AbstractRegistrationInfoPredicate
info
- the information to evaluateCopyright © 2016 JBoss by Red Hat. All rights reserved.