public enum DataSourceType extends Enum<DataSourceType>
| Enum Constant and Description |
|---|
ABSOLUTE
Absolute data source type.
|
CDEF
Computed data source type (CDEF).
|
COUNTER
Counter data source type.
|
DERIVE
Derive data source type.
|
GAUGE
Gauge data source type.
|
| Modifier and Type | Method and Description |
|---|---|
abstract DsType |
getDsType() |
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 ABSOLUTE
public static final DataSourceType CDEF
public static final DataSourceType COUNTER
public static final DataSourceType DERIVE
public static final DataSourceType GAUGE
public abstract DsType getDsType()
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 nullpublic static DataSourceType[] values()
for (DataSourceType c : DataSourceType.values()) System.out.println(c);