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