public class EntityIdPredicate extends java.lang.Object implements com.google.common.base.Predicate<EntityDescriptor>
EntityDescriptor against a set of entityIDs.| Modifier and Type | Field and Description |
|---|---|
private java.util.Set<java.lang.String> |
entityIds
Set of entityIDs to check for.
|
private org.slf4j.Logger |
log
Class logger.
|
| Constructor and Description |
|---|
EntityIdPredicate(java.util.Collection<java.lang.String> ids)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(EntityDescriptor input) |
java.util.Set<java.lang.String> |
getEntityIds()
Get the entityID criteria.
|
@Nonnull private final org.slf4j.Logger log
@Nonnull @NonnullElements private final java.util.Set<java.lang.String> entityIds
public EntityIdPredicate(@Nonnull @NonnullElements
java.util.Collection<java.lang.String> ids)
ids - the entityIDs to check for@Nonnull @NonnullElements @Unmodifiable @NotLive public java.util.Set<java.lang.String> getEntityIds()
public boolean apply(@Nullable
EntityDescriptor input)
apply in interface com.google.common.base.Predicate<EntityDescriptor>