public class EntityGroupNamePredicate extends Object implements com.google.common.base.Predicate<EntityDescriptor>
EntitiesDescriptor
groups.Modifier and Type | Field and Description |
---|---|
private Set<String> |
groupNames
Groups to match on.
|
Constructor and Description |
---|
EntityGroupNamePredicate(Collection<String> names)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
apply(EntityDescriptor input) |
Set<String> |
getGroupNames()
Get the group name criteria.
|
public EntityGroupNamePredicate(@Nonnull @NonnullElements Collection<String> names)
names
- the group names to test for@Nonnull @NonnullElements @Unmodifiable @NotLive public Set<String> getGroupNames()
public boolean apply(@Nullable EntityDescriptor input)
apply
in interface com.google.common.base.Predicate<EntityDescriptor>
Copyright © 1999–2015 JBoss by Red Hat. All rights reserved.