public static enum MessageRange.Type extends Enum<MessageRange.Type>
Enum Constant and Description |
---|
ALL
All messages
|
FROM
All messages with a uid equal or higher than
|
ONE
A sigle message
|
RANGE
All messagse within the given range of uids (inclusive)
|
Modifier and Type | Method and Description |
---|---|
static MessageRange.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageRange.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageRange.Type ALL
public static final MessageRange.Type ONE
public static final MessageRange.Type FROM
public static final MessageRange.Type RANGE
public static MessageRange.Type[] values()
for (MessageRange.Type c : MessageRange.Type.values()) System.out.println(c);
public static MessageRange.Type 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 nullCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.