Class EntityIdPredicate
- java.lang.Object
-
- org.opensaml.saml.common.profile.logic.EntityIdPredicate
-
- All Implemented Interfaces:
Predicate<EntityDescriptor>
,net.shibboleth.utilities.java.support.logic.Predicate<EntityDescriptor>
public class EntityIdPredicate extends Object implements net.shibboleth.utilities.java.support.logic.Predicate<EntityDescriptor>
Predicate that matches anEntityDescriptor
against a set of entityIDs.
-
-
Constructor Summary
Constructors Constructor Description EntityIdPredicate(Collection<String> ids)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
getEntityIds()
Get the entityID criteria.boolean
test(EntityDescriptor input)
-
-
-
Constructor Detail
-
EntityIdPredicate
public EntityIdPredicate(@Nullable @ParameterName(name="ids") Collection<String> ids)
Constructor.- Parameters:
ids
- the entityIDs to check for
-
-
Method Detail
-
getEntityIds
@Nonnull @NonnullElements @Unmodifiable @NotLive public Set<String> getEntityIds()
Get the entityID criteria.- Returns:
- the entityID criteria
-
test
public boolean test(@Nullable EntityDescriptor input)
- Specified by:
test
in interfacePredicate<EntityDescriptor>
-
-