public static enum TaskEvent.Type extends Enum<TaskEvent.Type>
Enum Constant and Description |
---|
TASK_DELETED
Notifies a Task has been deleted.
|
TASK_DEVICES_INVOLVED
Notifies a Task has completed involving devices.
|
TASK_FINISHED
Notifies a Task has been finished.
|
TASK_LAUNCHED
Notifies a Task has been launched.
|
TASK_STATISTICS_CHANGED
Notifies about a change in the Task statistics, i.e., number of involved or
finished devices has changed.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns an integer value corresponding to the predefined Rule event type.
|
static TaskEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskEvent.Type TASK_LAUNCHED
public static final TaskEvent.Type TASK_DEVICES_INVOLVED
public static final TaskEvent.Type TASK_FINISHED
public static final TaskEvent.Type TASK_STATISTICS_CHANGED
public static final TaskEvent.Type TASK_DELETED
public static TaskEvent.Type[] values()
for (TaskEvent.Type c : TaskEvent.Type.values()) System.out.println(c);
public static TaskEvent.Type 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 nullpublic int getValue()
Copyright © 2022 Bosch.IO GmbH. All rights reserved.