public enum MessageControl extends java.lang.Enum<MessageControl>
| Enum Constant and Description |
|---|
CONTINUE
Continue parsing, seeing all the other messages.
|
STOP
Stop parsing entirely, skipping the rest of this message and any future messages.
|
| Modifier and Type | Method and Description |
|---|---|
static MessageControl |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageControl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageControl CONTINUE
public static final MessageControl STOP
public static MessageControl[] values()
for (MessageControl c : MessageControl.values()) System.out.println(c);
public static MessageControl 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 nullCopyright © 2015-2022 Real Logic Limited. All Rights Reserved.