public enum RunnableStatus extends Enum<RunnableStatus>
| Enum Constant and Description |
|---|
FAILED
The instance is failed.
|
READY
The instance is ready to run.
|
RUNNING
The instance is running.
|
SUCCESS
The instance is successful.
|
| Modifier and Type | Method and Description |
|---|---|
static RunnableStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RunnableStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RunnableStatus READY
public static final RunnableStatus RUNNING
public static final RunnableStatus SUCCESS
public static final RunnableStatus FAILED
public static RunnableStatus[] values()
for (RunnableStatus c : RunnableStatus.values()) System.out.println(c);
public static RunnableStatus 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 © 2021. All rights reserved.