public enum TaskAttemptState extends Enum<TaskAttemptState>
| Enum Constant and Description | 
|---|
| COMMIT_PENDING | 
| FAILED | 
| KILLED | 
| NEW | 
| RUNNING | 
| STARTING | 
| SUCCEEDED | 
| Modifier and Type | Method and Description | 
|---|---|
| static TaskAttemptState | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static TaskAttemptState[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final TaskAttemptState NEW
public static final TaskAttemptState STARTING
public static final TaskAttemptState RUNNING
public static final TaskAttemptState COMMIT_PENDING
public static final TaskAttemptState SUCCEEDED
public static final TaskAttemptState FAILED
public static final TaskAttemptState KILLED
public static TaskAttemptState[] values()
for (TaskAttemptState c : TaskAttemptState.values()) System.out.println(c);
public static TaskAttemptState 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 nullCopyright © 2008–2023 Apache Software Foundation. All rights reserved.