public enum ProcessState extends Enum<ProcessState>
HealthCheck| Enum Constant and Description |
|---|
CRASHED
The crashed state
|
DOWN
The down state
|
RUNNING
The running state
|
STARTING
The starting state
|
| Modifier and Type | Method and Description |
|---|---|
static ProcessState |
from(String s) |
String |
getValue() |
String |
toString() |
static ProcessState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProcessState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessState CRASHED
public static final ProcessState DOWN
public static final ProcessState RUNNING
public static final ProcessState STARTING
public static ProcessState[] values()
for (ProcessState c : ProcessState.values()) System.out.println(c);
public static ProcessState 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 ProcessState from(String s)
public String getValue()
public String toString()
toString in class Enum<ProcessState>Copyright © 2020. All rights reserved.