public static enum NotificationExchange.TaskState extends Enum<NotificationExchange.TaskState>
| Enum Constant and Description |
|---|
COMPLETED |
INTERRUPTED |
INTERRUPTED_BY_SYSTEM |
INTERRUPTED_BY_TIMEOUT |
INTERRUPTED_BY_USER |
| Modifier and Type | Method and Description |
|---|---|
static NotificationExchange.TaskState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotificationExchange.TaskState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationExchange.TaskState COMPLETED
public static final NotificationExchange.TaskState INTERRUPTED
public static final NotificationExchange.TaskState INTERRUPTED_BY_USER
public static final NotificationExchange.TaskState INTERRUPTED_BY_TIMEOUT
public static final NotificationExchange.TaskState INTERRUPTED_BY_SYSTEM
public static NotificationExchange.TaskState[] values()
for (NotificationExchange.TaskState c : NotificationExchange.TaskState.values()) System.out.println(c);
public static NotificationExchange.TaskState 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 © 2024. All rights reserved.