Class EntityIdPredicate
java.lang.Object
org.opensaml.saml.common.profile.logic.EntityIdPredicate
- All Implemented Interfaces:
Predicate<EntityDescriptor>
,Predicate<EntityDescriptor>
public class EntityIdPredicate extends Object implements Predicate<EntityDescriptor>
Predicate that matches an
EntityDescriptor
against a set of entityIDs.-
Field Summary
-
Constructor Summary
Constructors Constructor Description EntityIdPredicate(Collection<String> ids)
Constructor. -
Method Summary
Modifier and Type Method Description Set<String>
getEntityIds()
Get the entityID criteria.boolean
test(EntityDescriptor input)
-
Field Details
-
entityIds
Set of entityIDs to check for.
-
-
Constructor Details
-
EntityIdPredicate
Constructor.- Parameters:
ids
- the entityIDs to check for
-
-
Method Details
-
getEntityIds
Get the entityID criteria.- Returns:
- the entityID criteria
-
test
- Specified by:
test
in interfacePredicate<EntityDescriptor>
-