Package org.opensaml.profile.logic
Class ProfileIdPredicate
- java.lang.Object
-
- org.opensaml.profile.logic.ProfileIdPredicate
-
- All Implemented Interfaces:
Predicate<ProfileRequestContext>,Predicate<ProfileRequestContext>
public class ProfileIdPredicate extends Object implements Predicate<ProfileRequestContext>
A predicate implementation that tests whether a profile request's profile ID matches an expected value.
-
-
Constructor Summary
Constructors Constructor Description ProfileIdPredicate(String id)Constructor.
-
-
-
Constructor Detail
-
ProfileIdPredicate
public ProfileIdPredicate(@Nonnull @NotEmpty @ParameterName(name="id") String id)
Constructor.- Parameters:
id- profile ID to test for
-
-
Method Detail
-
test
public boolean test(@Nullable ProfileRequestContext input)- Specified by:
testin interfacePredicate<ProfileRequestContext>
-
-