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