public enum TextPredicate extends Enum<TextPredicate> implements Predicate
| Enum Constant and Description |
|---|
CONTAINS |
DOES_NOT_CONTAIN |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(Iterable<Property> properties,
Object second,
Collection<PropertyDefinition> propertyDefinitions) |
boolean |
evaluate(Object first,
Object second,
PropertyDefinition propertyDefinition) |
void |
validate(PropertyDefinition propertyDefinition) |
static TextPredicate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextPredicate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextPredicate CONTAINS
public static final TextPredicate DOES_NOT_CONTAIN
public static TextPredicate[] values()
for (TextPredicate c : TextPredicate.values()) System.out.println(c);
public static TextPredicate valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean evaluate(Iterable<Property> properties, Object second, Collection<PropertyDefinition> propertyDefinitions)
public boolean evaluate(Object first, Object second, PropertyDefinition propertyDefinition)
public void validate(PropertyDefinition propertyDefinition)
Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.