public enum TaskMode extends Enum<TaskMode>
Modifier and Type | Method and Description |
---|---|
static TaskMode |
fromCode(int code) |
int |
getCode() |
static TaskMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskMode STANDARD
public static final TaskMode DELAY
public static final TaskMode PRIORITY
public static TaskMode[] values()
for (TaskMode c : TaskMode.values()) System.out.println(c);
public static TaskMode 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 static TaskMode fromCode(int code)
public int getCode()
Copyright © 2014–2018 Nirmata. All rights reserved.