public static enum TaskStatus.State extends java.lang.Enum<TaskStatus.State>
Enum Constant and Description |
---|
InError |
InProgress |
NotStarted |
Success |
Modifier and Type | Method and Description |
---|---|
static TaskStatus.State |
status(boolean success,
boolean end) |
static TaskStatus.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TaskStatus.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskStatus.State NotStarted
public static final TaskStatus.State InProgress
public static final TaskStatus.State InError
public static final TaskStatus.State Success
public static TaskStatus.State[] values()
for (TaskStatus.State c : TaskStatus.State.values()) System.out.println(c);
public static TaskStatus.State 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 nullpublic static TaskStatus.State status(boolean success, boolean end)
Copyright © 2021. All Rights Reserved.