public static enum KahaDestination.DestinationType extends Enum<KahaDestination.DestinationType>
| Enum Constant and Description |
|---|
QUEUE |
TEMP_QUEUE |
TEMP_TOPIC |
TOPIC |
| Modifier and Type | Method and Description |
|---|---|
int |
getNumber() |
String |
toString() |
static KahaDestination.DestinationType |
valueOf(int value) |
static KahaDestination.DestinationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KahaDestination.DestinationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KahaDestination.DestinationType QUEUE
public static final KahaDestination.DestinationType TOPIC
public static final KahaDestination.DestinationType TEMP_QUEUE
public static final KahaDestination.DestinationType TEMP_TOPIC
public static KahaDestination.DestinationType[] values()
for (KahaDestination.DestinationType c : KahaDestination.DestinationType.values()) System.out.println(c);
public static KahaDestination.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 final int getNumber()
public final String toString()
toString in class Enum<KahaDestination.DestinationType>public static KahaDestination.DestinationType valueOf(int value)
Copyright © 2005–2017 FuseSource, Corp.. All rights reserved.