public static enum RuntimeState.Status extends Enum<RuntimeState.Status>
Enum Constant and Description |
---|
STATUS_DISPOSED |
STATUS_FINALIZED |
STATUS_RUNNING |
STATUS_STARTING |
STATUS_STOPPED |
STATUS_STOPPING |
STATUS_SUSPENDED |
STATUS_UNKNOWN |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
String |
getStatusName() |
static RuntimeState.Status |
lookup(int code) |
static RuntimeState.Status |
lookup(String name) |
static RuntimeState.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuntimeState.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuntimeState.Status STATUS_UNKNOWN
public static final RuntimeState.Status STATUS_STOPPED
public static final RuntimeState.Status STATUS_RUNNING
public static final RuntimeState.Status STATUS_STOPPING
public static final RuntimeState.Status STATUS_STARTING
public static final RuntimeState.Status STATUS_SUSPENDED
public static final RuntimeState.Status STATUS_DISPOSED
public static final RuntimeState.Status STATUS_FINALIZED
public static RuntimeState.Status[] values()
for (RuntimeState.Status c : RuntimeState.Status.values()) System.out.println(c);
public static RuntimeState.Status 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 int getCode()
public String getStatusName()
public static final RuntimeState.Status lookup(int code)
public static final RuntimeState.Status lookup(String name)
Copyright © 2023. All rights reserved.