public static enum TaskStatus.State extends Enum<TaskStatus.State>
枚举常量和说明 |
---|
COMMIT_PENDING |
FAILED |
FAILED_UNCLEAN |
KILLED |
KILLED_UNCLEAN |
RUNNING |
SUCCEEDED |
UNASSIGNED |
public static final TaskStatus.State RUNNING
public static final TaskStatus.State SUCCEEDED
public static final TaskStatus.State FAILED
public static final TaskStatus.State UNASSIGNED
public static final TaskStatus.State KILLED
public static final TaskStatus.State COMMIT_PENDING
public static final TaskStatus.State FAILED_UNCLEAN
public static final TaskStatus.State KILLED_UNCLEAN
public static TaskStatus.State[] values()
for (TaskStatus.State c : TaskStatus.State.values()) System.out.println(c);
public static TaskStatus.State valueOf(String name)
name
- 要返回的枚举常量的名称。Copyright © 2009 The Apache Software Foundation