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