public enum BrokerComponent extends Enum<BrokerComponent>
| Enum Constant and Description |
|---|
NETWORK |
STORAGE |
UNKNOWN |
UNSPECIFIED |
| Modifier and Type | Method and Description |
|---|---|
static BrokerComponent | forId(byte id) |
byte | id() |
static BrokerComponent | valueOf(String name)Returns the enum constant of this type with the specified name. |
static BrokerComponent[] | values()Returns an array containing the constants of this enum type, in the order they are declared. |
public static final BrokerComponent UNKNOWN
public static final BrokerComponent UNSPECIFIED
public static final BrokerComponent STORAGE
public static final BrokerComponent NETWORK
public static BrokerComponent[] values()
for (BrokerComponent c : BrokerComponent.values()) System.out.println(c);
public static BrokerComponent 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 id()
public static BrokerComponent forId(byte id)