public enum ExecStatus extends Enum<ExecStatus>
| Enum Constant and Description |
|---|
ASSIGNED |
FAILED |
FINISHED |
IN_PROGRESS |
INIT |
PENDING |
RECOVERED |
SENT |
TERMINATED |
| Modifier and Type | Method and Description |
|---|---|
static ExecStatus |
find(int num) |
int |
getNumber() |
static ExecStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecStatus RECOVERED
public static final ExecStatus INIT
public static final ExecStatus PENDING
public static final ExecStatus ASSIGNED
public static final ExecStatus SENT
public static final ExecStatus IN_PROGRESS
public static final ExecStatus FINISHED
public static final ExecStatus TERMINATED
public static final ExecStatus FAILED
public static ExecStatus[] values()
for (ExecStatus c : ExecStatus.values()) System.out.println(c);
public static ExecStatus 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 getNumber()
public static ExecStatus find(int num)
Copyright © 2016. All Rights Reserved.