public static enum PSThreadStatus.Status extends Enum<PSThreadStatus.Status>
Enum Constant and Description |
---|
CANCELLED
When a thread has been cancelled.
|
COMPLETED
When a thread is finished.
|
ERROR
When a thread has an error.
|
FAILED
When a thread has finished with an error.
|
INITIALISED
When a thread has been initialised but not yet started.
|
INPROGRESS
When a thread is currently running.
|
WARNING
When a thread has a warning.
|
Modifier and Type | Method and Description |
---|---|
static PSThreadStatus.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PSThreadStatus.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PSThreadStatus.Status INITIALISED
public static final PSThreadStatus.Status INPROGRESS
public static final PSThreadStatus.Status ERROR
public static final PSThreadStatus.Status WARNING
public static final PSThreadStatus.Status CANCELLED
public static final PSThreadStatus.Status COMPLETED
public static final PSThreadStatus.Status FAILED
public static PSThreadStatus.Status[] values()
for (PSThreadStatus.Status c : PSThreadStatus.Status.values()) System.out.println(c);
public static PSThreadStatus.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 nullCopyright © 2016 Allette Systems. All rights reserved.