public static enum LightningCoreConstants.TaskStatus extends java.lang.Enum<LightningCoreConstants.TaskStatus>
Enum Constant and Description |
---|
CONNECT_FAILED |
CONNECTED |
FAILED |
INIT |
READ |
READ_WRITE_FAILED |
SUCCESS |
TIMEDOUT |
WRITTEN |
Modifier and Type | Method and Description |
---|---|
static LightningCoreConstants.TaskStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LightningCoreConstants.TaskStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LightningCoreConstants.TaskStatus INIT
public static final LightningCoreConstants.TaskStatus CONNECTED
public static final LightningCoreConstants.TaskStatus WRITTEN
public static final LightningCoreConstants.TaskStatus READ
public static final LightningCoreConstants.TaskStatus CONNECT_FAILED
public static final LightningCoreConstants.TaskStatus READ_WRITE_FAILED
public static final LightningCoreConstants.TaskStatus SUCCESS
public static final LightningCoreConstants.TaskStatus FAILED
public static final LightningCoreConstants.TaskStatus TIMEDOUT
public static LightningCoreConstants.TaskStatus[] values()
for (LightningCoreConstants.TaskStatus c : LightningCoreConstants.TaskStatus.values()) System.out.println(c);
public static LightningCoreConstants.TaskStatus 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