public static enum ConfigResource.Type extends Enum<ConfigResource.Type>
| Enum Constant and Description |
|---|
BROKER |
BROKER_LOGGER |
CLIENT_METRICS |
CLUSTER_LINK |
TOPIC |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static ConfigResource.Type | forId(byte id) |
byte | id() |
static ConfigResource.Type | valueOf(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 CLUSTER_LINK
public static final ConfigResource.Type CLIENT_METRICS
public static final ConfigResource.Type BROKER_LOGGER
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(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 ConfigResource.Type forId(byte id)