@Deprecated public class Priority extends Object
Modifier and Type | Field and Description |
---|---|
static Priority |
EMERGENCY
Deprecated.
Highest level of priority.
|
static Priority |
NON_URGENT
Deprecated.
Lowest level of priority.
|
static Priority |
NORMAL
Deprecated.
Normal level of priority.
|
static Priority |
URGENT
Deprecated.
Urgent level of priority.
|
Constructor and Description |
---|
Priority(String value)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Deprecated.
Returns the priority value.
|
static Priority |
register(String name)
Deprecated.
Register an option tag that can later be retrieved using
valueOf(String) . |
void |
setValue(String value)
Deprecated.
Sets the priority value.
|
static Priority |
valueOf(String value)
Deprecated.
Returns the priority associated to a value.
|
public static final Priority EMERGENCY
public static final Priority NON_URGENT
public static final Priority NORMAL
public static final Priority URGENT
public Priority(String value)
value
- The priority value.public static Priority register(String name)
valueOf(String)
. If the option tag already exists, the existing
tag is returned, otherwise a new instance is created.name
- The name.public static Priority valueOf(String value)
value
- The value.public String getValue()
public void setValue(String value)
value
- The priority value.Copyright © 2005–2019. All rights reserved.