public final class Priority
extends java.lang.Object
Enumeration of the Priority values supported by the Common Navigator.
| Modifier and Type | Field and Description |
|---|---|
static Priority[] |
ENUM_ARRAY
The ordered array of possible enumeration values (0=> Highest,
length-1=>Lowest)
|
static Priority |
HIGH
Indicates High priority as a Priority enumeration.
|
static java.lang.String |
HIGH_PRIORITY_LITERAL
Indicates High priority as a String.
|
static int |
HIGH_PRIORITY_VALUE
Indicates High priority as an int.
|
static Priority |
HIGHER
Indicates Higher priority as a Priority enumeration.
|
static java.lang.String |
HIGHER_PRIORITY_LITERAL
Indicates Higher priority as a String.
|
static int |
HIGHER_PRIORITY_VALUE
Indicates Higher priority as an int.
|
static Priority |
HIGHEST
Indicates Highest priority as a Priority enumeration.
|
static java.lang.String |
HIGHEST_PRIORITY_LITERAL
Indicates Highest priority as a String.
|
static int |
HIGHEST_PRIORITY_VALUE
Indicates Highest priority as an int.
|
static Priority |
LOW
Indicates Low priority as a Priority enumeration.
|
static java.lang.String |
LOW_PRIORITY_LITERAL
Indicates Low priority as a String.
|
static int |
LOW_PRIORITY_VALUE
Indicates Low priority as an int.
|
static Priority |
LOWER
Indicates Lower priority as a Priority enumeration.
|
static java.lang.String |
LOWER_PRIORITY_LITERAL
Indicates Lower priority as a String.
|
static int |
LOWER_PRIORITY_VALUE
Indicates Lower priority as an int.
|
static Priority |
LOWEST
Indicates Lowest priority as a Priority enumeration.
|
static java.lang.String |
LOWEST_PRIORITY_LITERAL
Indicates Lowest priority as a String.
|
static int |
LOWEST_PRIORITY_VALUE
Indicates Lowest priority as an int.
|
static Priority |
NORMAL
Indicates Normal priority as a Priority enumeration.
|
static java.lang.String |
NORMAL_PRIORITY_LITERAL
Indicates Normal priority as a String.
|
static int |
NORMAL_PRIORITY_VALUE
Indicates Normal priority as an int.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Priority(int aValue,
java.lang.String aLiteral) |
| Modifier and Type | Method and Description |
|---|---|
static Priority |
get(int aValue)
Returns the correct instance of the Priority ENUM for aValue.
|
static Priority |
get(java.lang.String aLiteral)
Returns the correct instance of the Priority ENUM for aLiteral.
|
java.lang.String |
getLiteral() |
int |
getValue()
0 is the lowest priority; 7 is the highest.
|
java.lang.String |
toString() |
public static final int HIGHEST_PRIORITY_VALUE
public static final int HIGHER_PRIORITY_VALUE
public static final int HIGH_PRIORITY_VALUE
public static final int NORMAL_PRIORITY_VALUE
public static final int LOW_PRIORITY_VALUE
public static final int LOWER_PRIORITY_VALUE
public static final int LOWEST_PRIORITY_VALUE
public static final java.lang.String HIGHEST_PRIORITY_LITERAL
public static final java.lang.String HIGHER_PRIORITY_LITERAL
public static final java.lang.String HIGH_PRIORITY_LITERAL
public static final java.lang.String NORMAL_PRIORITY_LITERAL
public static final java.lang.String LOW_PRIORITY_LITERAL
public static final java.lang.String LOWER_PRIORITY_LITERAL
public static final java.lang.String LOWEST_PRIORITY_LITERAL
public static final Priority HIGHEST
public static final Priority HIGHER
public static final Priority HIGH
public static final Priority NORMAL
public static final Priority LOW
public static final Priority LOWER
public static final Priority LOWEST
public static final Priority[] ENUM_ARRAY
public static Priority get(java.lang.String aLiteral)
This method will return NORMAL if the supplied value of aLiteral is invalid.
aLiteral - One of the defined *_LITERAL constants of this classpublic static Priority get(int aValue)
This method will return NORMAL if the supplied value of aValue is invalid.
aValue - One of the defined *_VALUE constants of this classpublic java.lang.String getLiteral()
public int getValue()
public java.lang.String toString()
toString in class java.lang.Object
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.