public final class Priority extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DO_NOT_LEVEL
Constant for do not level.
|
static int |
HIGH
Constant for high priority.
|
static int |
HIGHER
Constant for higher priority.
|
static int |
HIGHEST
Constant for highest priority.
|
static int |
LOW
Constant for low priority.
|
static int |
LOWER
Constant for lower priority.
|
static int |
LOWEST
Constant for lowest priority.
|
static int |
MEDIUM
Constant for medium priority.
|
static int |
VERY_HIGH
Constant for very high priority.
|
static int |
VERY_LOW
Constant for low priority.
|
Modifier and Type | Method and Description |
---|---|
static Priority |
getInstance(int priority)
This method takes an integer enumeration of a priority
and returns an appropriate instance of this class.
|
int |
getValue()
Accessor method used to retrieve the numeric representation of the
priority.
|
String |
toString() |
public static final int LOWEST
public static final int VERY_LOW
public static final int LOWER
public static final int LOW
public static final int MEDIUM
public static final int HIGH
public static final int HIGHER
public static final int VERY_HIGH
public static final int HIGHEST
public static final int DO_NOT_LEVEL
public static Priority getInstance(int priority)
priority
- int version of the prioritypublic int getValue()
Copyright © 2000–2024 Packwood Software. All rights reserved.