public static enum ConfigResource.Type extends java.lang.Enum<ConfigResource.Type>
Modifier and Type | Method | Description |
---|---|---|
static ConfigResource.Type |
forId(byte id) |
|
byte |
id() |
|
static ConfigResource.Type |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ConfigResource.Type[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigResource.Type BROKER
public static final ConfigResource.Type TOPIC
public static final ConfigResource.Type UNKNOWN
public static ConfigResource.Type[] values()
for (ConfigResource.Type c : ConfigResource.Type.values()) System.out.println(c);
public static ConfigResource.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic byte id()
public static ConfigResource.Type forId(byte id)