Enum Anchor
- All Implemented Interfaces:
Serializable,Comparable<Anchor>
Defines anchor options for matching messages.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe first message on or after the datetime indicated by theanchor_dateparameter, if any; otherwise, the most recent message.The oldest unread message matching the query, if any; otherwise, the most recent message.The most recent message.The oldest message. -
Method Summary
-
Enum Constant Details
-
DATE
The first message on or after the datetime indicated by theanchor_dateparameter, if any; otherwise, the most recent message.- See Also:
-
FIRST_UNREAD
The oldest unread message matching the query, if any; otherwise, the most recent message. -
NEWEST
The most recent message. -
OLDEST
The oldest message.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
-