public static enum Task.Status extends Enum<Task.Status>
NOT_STARTED
indicates that the task is not started yet.
IN_PROGRESS
indicates that the task has been started and is currently in progress.
APPROVED
indicates that the task has been closed and its output status is approved.
REJECTED
indicates that the task has been closed and its output status is rejected.
NOT_TO_BE_DONE
indicates that the task has been marked as not to be done which means
that the task will never be started. This status is notably used when a workflow has been relaunched
to identify the tasks which are considered definitely done and thus not to be done again.Enum Constant and Description |
---|
APPROVED |
IN_PROGRESS |
NOT_STARTED |
NOT_TO_BE_DONE |
REJECTED |
Modifier and Type | Method and Description |
---|---|
static Task.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Task.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Task.Status NOT_STARTED
public static final Task.Status IN_PROGRESS
public static final Task.Status APPROVED
public static final Task.Status REJECTED
public static final Task.Status NOT_TO_BE_DONE
public static Task.Status[] values()
for (Task.Status c : Task.Status.values()) System.out.println(c);
public static Task.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 © 2017 DocDoku. All rights reserved.