public static enum Task.TaskState extends java.lang.Enum<Task.TaskState>
| Enum Constant and Description |
|---|
Computing
The task is currently processing
|
Failed
The task processing has failed with an exception
|
Queued
The task is queued in a
IWorker |
Ready
The task result is available, get and peek can be used
|
Waiting
Waiting state (not queued and no result available)
|
| Modifier and Type | Method and Description |
|---|---|
static Task.TaskState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Task.TaskState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Task.TaskState Waiting
public static final Task.TaskState Queued
IWorkerpublic static final Task.TaskState Computing
public static final Task.TaskState Ready
public static final Task.TaskState Failed
public static Task.TaskState[] values()
for (Task.TaskState c : Task.TaskState.values()) System.out.println(c);
public static Task.TaskState 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 nullBonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com