public static enum EventWriter.WriteMode extends Enum<EventWriter.WriteMode>
Modifier and Type | Method and Description |
---|---|
static EventWriter.WriteMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventWriter.WriteMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventWriter.WriteMode JSON
public static final EventWriter.WriteMode BINARY
public static EventWriter.WriteMode[] values()
for (EventWriter.WriteMode c : EventWriter.WriteMode.values()) System.out.println(c);
public static EventWriter.WriteMode 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 © 2008–2021 Apache Software Foundation. All rights reserved.