public enum Priority extends Enum<Priority>
Enum Constant and Description |
---|
PRIORITY110 |
PRIORITY120 |
PRIORITY130 |
PRIORITY140 |
PRIORITY150 |
PRIORITY160 |
PRIORITY170 |
PRIORITY180 |
PRIORITY190 |
PRIORITY200 |
PRIORITY210 |
PRIORITY220 |
Modifier and Type | Method and Description |
---|---|
int |
getPriority() |
static String |
shiftPriority(String basePriority,
int offset)
Shift the base priority from the base priority and get the shifted new priority value.
|
String |
toString() |
static Priority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Priority PRIORITY110
public static final Priority PRIORITY120
public static final Priority PRIORITY130
public static final Priority PRIORITY140
public static final Priority PRIORITY150
public static final Priority PRIORITY160
public static final Priority PRIORITY170
public static final Priority PRIORITY180
public static final Priority PRIORITY190
public static final Priority PRIORITY200
public static final Priority PRIORITY210
public static final Priority PRIORITY220
public static Priority[] values()
for (Priority c : Priority.values()) System.out.println(c);
public static Priority 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 int getPriority()
public static String shiftPriority(String basePriority, int offset)
basePriority
- Base priorityoffset
- Offset to shift the base priority to get the new valueString
calculated new priority valueCopyright © 2018 WSO2. All rights reserved.