java.io.Serializable, java.lang.Comparable<MRApps.TaskAttemptStateUI>public static enum MRApps.TaskAttemptStateUI extends java.lang.Enum<MRApps.TaskAttemptStateUI>
| Enum Constant | Description |
|---|---|
FAILED |
|
KILLED |
|
NEW |
|
RUNNING |
|
SUCCESSFUL |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
correspondsTo(TaskAttemptState state) |
|
static MRApps.TaskAttemptStateUI |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static MRApps.TaskAttemptStateUI[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MRApps.TaskAttemptStateUI NEW
public static final MRApps.TaskAttemptStateUI RUNNING
public static final MRApps.TaskAttemptStateUI SUCCESSFUL
public static final MRApps.TaskAttemptStateUI FAILED
public static final MRApps.TaskAttemptStateUI KILLED
public static MRApps.TaskAttemptStateUI[] values()
for (MRApps.TaskAttemptStateUI c : MRApps.TaskAttemptStateUI.values()) System.out.println(c);
public static MRApps.TaskAttemptStateUI 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 nullpublic boolean correspondsTo(TaskAttemptState state)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.