public enum TaskStatus extends java.lang.Enum<TaskStatus>
Task
.
For details of the application lifecycle referred to in the description of
task statuses, see
application lifecycle.Enum Constant and Description |
---|
EXITED_FATAL
Fatal error occured during the task's execution.
|
EXITED_REGULAR
Finished execution without errors.
|
EXITED_TERMINATED
Terminated.
|
RUNNING
Running.
|
START_FAILED
Never started.
|
STARTING
Starting up.
|
Modifier and Type | Method and Description |
---|---|
static TaskStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TaskStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskStatus STARTING
public static final TaskStatus RUNNING
public static final TaskStatus EXITED_REGULAR
RUNNING
state.public static final TaskStatus EXITED_FATAL
RUNNING
state.public static final TaskStatus EXITED_TERMINATED
RUNNING
state.public static final TaskStatus START_FAILED
startApp
method has thrown an exception.
Application hasn't been executed.public static TaskStatus[] values()
for (TaskStatus c : TaskStatus.values()) System.out.println(c);
public static TaskStatus 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 nullCopyright (c) 2014, Oracle and/or its affiliates. All rights reserved. Use of this specification is subject to license terms.