public enum TaskPriority extends java.lang.Enum<TaskPriority>
Modifier and Type | Method and Description |
---|---|
int |
getPriorityValue() |
static TaskPriority |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TaskPriority[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final TaskPriority HIGH
public static final TaskPriority LOW
public static final TaskPriority MEDIUM
public int getPriorityValue()
public static TaskPriority 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 static TaskPriority[] values()
for (TaskPriority c : TaskPriority.values()) System.out.println(c);
Copyright © 2017 Oracle Corp. All Rights Reserved.