public enum Status extends Enum<Status>
It represents a processing status that can be assigned to any processing unit. By processing unit it could be the following items:
Enum Constant and Description |
---|
FAILED
Status when the processing unit has failed.
|
IN_PROGRESS
Status when the processing unit is in progress.
|
NOT_STARTED
Status when the processing unit has not been started yet.
|
PAUSED
Status when the processing unit has been paused.
|
PENDING_REMOVAL
Status when the removal process started.
|
SUCCESS
Status when the processing unit has finished successfully.
|
Modifier and Type | Method and Description |
---|---|
static Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Status NOT_STARTED
public static final Status IN_PROGRESS
public static final Status PAUSED
public static final Status SUCCESS
public static final Status FAILED
public static final Status PENDING_REMOVAL
public static Status[] values()
for (Status c : Status.values()) System.out.println(c);
public static 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 (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries