public enum ProtocolType extends Enum<ProtocolType>
Enum Constant and Description |
---|
AARDVARK |
AMQP |
CORE |
STOMP |
STOMP_WS |
Modifier and Type | Method and Description |
---|---|
static ProtocolType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtocolType CORE
public static final ProtocolType STOMP
public static final ProtocolType STOMP_WS
public static final ProtocolType AMQP
public static final ProtocolType AARDVARK
public static ProtocolType[] values()
for (ProtocolType c : ProtocolType.values()) System.out.println(c);
public static ProtocolType 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 nullCopyright © 2012 JBoss by Red Hat. All Rights Reserved.