Package org.exoplatform.caldav.model
Enum Class CalendarSyncPauseReason
- All Implemented Interfaces:
Serializable,Comparable<CalendarSyncPauseReason>,Constable
Why a pair is
CalendarSyncStatus.PAUSED. A pause is one state with
three causes, and one reader tells them apart: the subscription drain, which
logs in as the colleague, waits on a pause their credentials caused and goes
on through one they did not (EXO-90277). A pair paused before the reason was
recorded carries none.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe server refused the account's stored credentials.The user disconnected the account; the binding is kept for a reconnection of the same account.The collection's imports failed too many times in a row. -
Method Summary
Modifier and TypeMethodDescriptionstatic CalendarSyncPauseReasonReturns the enum constant of this class with the specified name.static CalendarSyncPauseReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREDENTIALS
The server refused the account's stored credentials. A login as this user would be refused again, and counted against a server that may lock the account. -
FAILING_IMPORTS
The collection's imports failed too many times in a row. The account's login is not in question. -
DISCONNECT
The user disconnected the account; the binding is kept for a reconnection of the same account.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-