public enum MessageDeliveryPriority extends Enum<MessageDeliveryPriority>
Enum Constant and Description |
---|
ABOVE_AVERAGE |
BELOW_AVERAGE |
HIGH |
HIGHER |
HIGHEST |
LOW |
LOWER |
LOWEST |
MEDIUM |
VERY_HIGH |
Modifier and Type | Method and Description |
---|---|
static MessageDeliveryPriority |
get(short value) |
short |
getValue() |
static MessageDeliveryPriority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageDeliveryPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageDeliveryPriority LOWEST
public static final MessageDeliveryPriority LOWER
public static final MessageDeliveryPriority LOW
public static final MessageDeliveryPriority BELOW_AVERAGE
public static final MessageDeliveryPriority MEDIUM
public static final MessageDeliveryPriority ABOVE_AVERAGE
public static final MessageDeliveryPriority HIGH
public static final MessageDeliveryPriority HIGHER
public static final MessageDeliveryPriority VERY_HIGH
public static final MessageDeliveryPriority HIGHEST
public static MessageDeliveryPriority[] values()
for (MessageDeliveryPriority c : MessageDeliveryPriority.values()) System.out.println(c);
public static MessageDeliveryPriority 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 short getValue()
public static MessageDeliveryPriority get(short value)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.