public static enum JmsDestination.DestinationType extends Enum<JmsDestination.DestinationType>
Enum Constant and Description |
---|
QUEUE
The queue.
|
TOPIC
The topic.
|
Modifier and Type | Method and Description |
---|---|
static JmsDestination.DestinationType |
fromValue(String v)
From value.
|
String |
value()
Value.
|
static JmsDestination.DestinationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JmsDestination.DestinationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JmsDestination.DestinationType QUEUE
public static final JmsDestination.DestinationType TOPIC
public static JmsDestination.DestinationType[] values()
for (JmsDestination.DestinationType c : JmsDestination.DestinationType.values()) System.out.println(c);
public static JmsDestination.DestinationType 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 String value()
public static JmsDestination.DestinationType fromValue(String v)
v
- the type as stringCopyright © 2020. All rights reserved.