public static enum Criterion.Match extends Enum<Criterion.Match>
| Enum Constant and Description |
|---|
ALL
When compared to the payload, the drop will be accepted only if all
of the given criteria matches.
|
ANY
When compared to the payload, the drop will be accepted if any of the
criteria matches.
|
| Modifier and Type | Method and Description |
|---|---|
static Criterion.Match |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Criterion.Match[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Criterion.Match ANY
public static final Criterion.Match ALL
public static Criterion.Match[] values()
for (Criterion.Match c : Criterion.Match.values()) System.out.println(c);
public static Criterion.Match 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 nullCopyright © 2017 Vaadin Ltd. All rights reserved.