public class ProfileIdPredicate extends java.lang.Object implements com.google.common.base.Predicate<ProfileRequestContext>
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
profileId
Profile ID to test for.
|
| Constructor and Description |
|---|
ProfileIdPredicate(java.lang.String id)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(ProfileRequestContext input) |
@Nonnull @NotEmpty private final java.lang.String profileId
public ProfileIdPredicate(@Nonnull @NotEmpty
java.lang.String id)
id - profile ID to test forpublic boolean apply(@Nullable
ProfileRequestContext input)
apply in interface com.google.common.base.Predicate<ProfileRequestContext>