public static enum Snapshot.Type extends java.lang.Enum<Snapshot.Type>
Enum Constant and Description |
---|
ENTER
The starts of a monitoring.
|
EXIT
The end of a value.
|
LAP
An intermediate value.
|
Modifier and Type | Method and Description |
---|---|
static Snapshot.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Snapshot.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Snapshot.Type ENTER
public static final Snapshot.Type LAP
public static final Snapshot.Type EXIT
public static Snapshot.Type[] values()
for (Snapshot.Type c : Snapshot.Type.values()) System.out.println(c);
public static Snapshot.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null