public enum KeyType extends Enum<KeyType>
Specifies all the valid types of keys and their values.
Enum Constant and Description |
---|
COMPONENT_STRING |
EXEC_ID_STRING |
HOST_STRING |
METADATA_STRING_END |
METADATA_STRING_START |
METRIC_DATA |
METRIC_STRING |
STREAM_ID_STRING |
TOPOLOGY_BLOB |
TOPOLOGY_STRING |
Modifier and Type | Method and Description |
---|---|
static KeyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyType TOPOLOGY_BLOB
public static final KeyType METADATA_STRING_START
public static final KeyType TOPOLOGY_STRING
public static final KeyType METRIC_STRING
public static final KeyType COMPONENT_STRING
public static final KeyType EXEC_ID_STRING
public static final KeyType HOST_STRING
public static final KeyType STREAM_ID_STRING
public static final KeyType METADATA_STRING_END
public static final KeyType METRIC_DATA
public static KeyType[] values()
for (KeyType c : KeyType.values()) System.out.println(c);
public static KeyType 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 © 2019 The Apache Software Foundation. All rights reserved.