public static enum MRApps.TaskAttemptStateUI extends Enum<MRApps.TaskAttemptStateUI>
Enum Constant and Description |
---|
FAILED |
KILLED |
NEW |
RUNNING |
SUCCESSFUL |
Modifier and Type | Method and Description |
---|---|
boolean |
correspondsTo(TaskAttemptState state) |
static MRApps.TaskAttemptStateUI |
valueOf(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(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 nullpublic boolean correspondsTo(TaskAttemptState state)
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.