public enum DataSourceType extends Enum<DataSourceType>
Enum Constant and Description |
---|
ABSOLUTE |
CDEF |
COUNTER |
DERIVE |
GAUGE |
Modifier and Type | Method and Description |
---|---|
static DataSourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataSourceType COUNTER
public static final DataSourceType ABSOLUTE
public static final DataSourceType GAUGE
public static final DataSourceType DERIVE
public static final DataSourceType CDEF
public static DataSourceType[] values()
for (DataSourceType c : DataSourceType.values()) System.out.println(c);
public static DataSourceType 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 © 2015. All rights reserved.