public enum TaskType extends Enum<TaskType>
Enum Constant and Description |
---|
ASYNC_LATER
Asynchronously runs the task later
|
ASYNC_REPEAT
Asynchronously runs the task repeatedly, until stopped.
|
ASYNC_RUN
Asynchronously runs the task the next tick
|
SYNC_LATER
Synchronously runs the task later
|
SYNC_REPEAT
Synchronously runs the task repeatedly, until stopped.
|
SYNC_RUN
Synchronously runs the task the next tick
|
Modifier and Type | Method and Description |
---|---|
static TaskType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskType ASYNC_LATER
public static final TaskType ASYNC_REPEAT
public static final TaskType SYNC_LATER
public static final TaskType SYNC_REPEAT
public static TaskType[] values()
for (TaskType c : TaskType.values()) System.out.println(c);
public static TaskType 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 © 2016. All rights reserved.