public enum BusState extends Enum<BusState>
Enum Constant and Description |
---|
CONNECTED |
CONNECTING |
CONNECTION_INTERRUPTED |
LOCAL_ONLY |
UNINITIALIZED |
Modifier and Type | Method and Description |
---|---|
boolean |
isShadowDeliverable() |
boolean |
isStartableState() |
static BusState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BusState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BusState UNINITIALIZED
public static final BusState LOCAL_ONLY
public static final BusState CONNECTING
public static final BusState CONNECTION_INTERRUPTED
public static final BusState CONNECTED
public static BusState[] values()
for (BusState c : BusState.values()) System.out.println(c);
public static BusState 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 boolean isStartableState()
public boolean isShadowDeliverable()
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.