public enum ListenerMode extends java.lang.Enum<ListenerMode>
Enum Constant and Description |
---|
batch
Each
Message will contains List<Record> if not empty. |
record
Each
Message will be converted from a single Record . |
Modifier and Type | Method and Description |
---|---|
static ListenerMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ListenerMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListenerMode record
Message
will be converted from a single Record
.public static final ListenerMode batch
Message
will contains List<Record>
if not empty.public static ListenerMode[] values()
for (ListenerMode c : ListenerMode.values()) System.out.println(c);
public static ListenerMode 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