Package org.exoplatform.caldav.model
Enum Class CalendarSyncStatus
- All Implemented Interfaces:
Serializable,Comparable<CalendarSyncStatus>,Constable
The lifecycle of one calendar pair. Every value other than
ACTIVE
is a state the user can be shown and, where it makes sense, act on — the
point of recording them rather than logging a failure and retrying blindly.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBound on both sides and synchronising.A deletion is in flight.An EXO pair whose local calendar no longer exists while its remote collection does, and which no deletion accounted for.The local calendar is gone and the remote collection has not been dealt with yet.Synchronisation is suspended and will not resume on its own.The server refused to create the collection.The remote collection has disappeared. -
Method Summary
Modifier and TypeMethodDescriptionstatic CalendarSyncStatusReturns the enum constant of this class with the specified name.static CalendarSyncStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACTIVE
Bound on both sides and synchronising. -
REMOTE_CREATE_REFUSED
The server refused to create the collection. Real on servers whose CalDAV implementation does not offer MKCALENDAR at all — Google's is the usual one. Not BlueMind's: it answers 201 while creating nothing when the request omits the supported component set, which is a malformed request on our side rather than a refusal, and is why creation is confirmed by a read-back rather than by a status code. -
REMOTE_GONE
The remote collection has disappeared. For an EXO pair the engine may recreate it; for a REMOTE pair it means the user deleted their own calendar, which propagates inward. -
PAUSED
Synchronisation is suspended and will not resume on its own. Set on repeated failure, and immediately on an authentication rejection — a stale password must never be retried in a loop against a server that may lock the account. -
LOCALLY_DELETED
The local calendar is gone and the remote collection has not been dealt with yet. The tombstone that keeps a deletion recoverable instead of silently forgotten. -
EXO_ORPHANED
An EXO pair whose local calendar no longer exists while its remote collection does, and which no deletion accounted for. Surfaced rather than cleaned up automatically: something disagreed, and guessing which side is right is how data gets destroyed. -
DELETING
A deletion is in flight. Set before the remote call and cleared after, so an interrupted deletion is visible as unfinished rather than indistinguishable from one that never started.
-
-
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
-