public enum MessageFlowMode extends Enum<MessageFlowMode>
Modifier and Type | Method and Description |
---|---|
static MessageFlowMode |
get(short value) |
short |
getValue() |
static MessageFlowMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageFlowMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageFlowMode CREDIT
public static final MessageFlowMode WINDOW
public static MessageFlowMode[] values()
for (MessageFlowMode c : MessageFlowMode.values()) System.out.println(c);
public static MessageFlowMode 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 nullpublic short getValue()
public static MessageFlowMode get(short value)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.