public enum InstrumentType extends Enum<InstrumentType>
Enum Constant and Description |
---|
COUNTER |
SUM_OBSERVER |
UP_DOWN_COUNTER |
UP_DOWN_SUM_OBSERVER |
VALUE_OBSERVER |
VALUE_RECORDER |
Modifier and Type | Method and Description |
---|---|
static InstrumentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstrumentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstrumentType COUNTER
public static final InstrumentType UP_DOWN_COUNTER
public static final InstrumentType VALUE_RECORDER
public static final InstrumentType SUM_OBSERVER
public static final InstrumentType UP_DOWN_SUM_OBSERVER
public static final InstrumentType VALUE_OBSERVER
public static InstrumentType[] values()
for (InstrumentType c : InstrumentType.values()) System.out.println(c);
public static InstrumentType 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 null