public static enum StreamMatcher.ExtraTuples extends java.lang.Enum<StreamMatcher.ExtraTuples>
StreamMatcher.expectTuple(TupleMatcher)
,
StreamMatcher.expectTuples(TupleMatcher...)
, or
StreamMatcher.expectTuples(List)
Enum Constant and Description |
---|
ERROR
Error on unexpected tuples
|
IGNORE
Ignore unexpected tuples
|
Modifier and Type | Method and Description |
---|---|
static StreamMatcher.ExtraTuples |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StreamMatcher.ExtraTuples[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamMatcher.ExtraTuples IGNORE
public static final StreamMatcher.ExtraTuples ERROR
public static StreamMatcher.ExtraTuples[] values()
for (StreamMatcher.ExtraTuples c : StreamMatcher.ExtraTuples.values()) System.out.println(c);
public static StreamMatcher.ExtraTuples valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null