public static enum DiagnosticsSession.State extends Enum<DiagnosticsSession.State>
Enum Constant and Description |
---|
CANCELLED
The session has been canceled.
|
FAILED
The session failed due to an error.
|
RUNNING
The session is currently running.
|
SUCCEEDED
The session has finished successfully and the result file has been created
|
Modifier and Type | Method and Description |
---|---|
static DiagnosticsSession.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiagnosticsSession.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiagnosticsSession.State RUNNING
public static final DiagnosticsSession.State SUCCEEDED
public static final DiagnosticsSession.State FAILED
public static final DiagnosticsSession.State CANCELLED
public static DiagnosticsSession.State[] values()
for (DiagnosticsSession.State c : DiagnosticsSession.State.values()) System.out.println(c);
public static DiagnosticsSession.State 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 © 2016–2017. All rights reserved.