public static enum MRApps.TaskStateUI extends Enum<MRApps.TaskStateUI>
Modifier and Type | Method and Description |
---|---|
boolean |
correspondsTo(TaskState state) |
static MRApps.TaskStateUI |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MRApps.TaskStateUI[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MRApps.TaskStateUI RUNNING
public static final MRApps.TaskStateUI PENDING
public static final MRApps.TaskStateUI COMPLETED
public static MRApps.TaskStateUI[] values()
for (MRApps.TaskStateUI c : MRApps.TaskStateUI.values()) System.out.println(c);
public static MRApps.TaskStateUI 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(TaskState state)
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.