public static enum ActiveMQDestination.TYPE extends Enum<ActiveMQDestination.TYPE>
Enum Constant and Description |
---|
DESTINATION |
QUEUE |
TEMP_QUEUE |
TEMP_TOPIC |
TOPIC |
Modifier and Type | Method and Description |
---|---|
byte |
getType() |
static ActiveMQDestination.TYPE |
getType(byte type) |
static boolean |
isQueue(ActiveMQDestination.TYPE type) |
static boolean |
isTemporary(ActiveMQDestination.TYPE type) |
static ActiveMQDestination.TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActiveMQDestination.TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActiveMQDestination.TYPE QUEUE
public static final ActiveMQDestination.TYPE TOPIC
public static final ActiveMQDestination.TYPE TEMP_QUEUE
public static final ActiveMQDestination.TYPE TEMP_TOPIC
public static final ActiveMQDestination.TYPE DESTINATION
public static ActiveMQDestination.TYPE[] values()
for (ActiveMQDestination.TYPE c : ActiveMQDestination.TYPE.values()) System.out.println(c);
public static ActiveMQDestination.TYPE 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 byte getType()
public static ActiveMQDestination.TYPE getType(byte type)
public static boolean isQueue(ActiveMQDestination.TYPE type)
public static boolean isTemporary(ActiveMQDestination.TYPE type)
Copyright © 2021 JBoss by Red Hat. All rights reserved.