Enum Class CalendarSyncStatus

java.lang.Object
java.lang.Enum<CalendarSyncStatus>
org.exoplatform.caldav.model.CalendarSyncStatus
All Implemented Interfaces:
Serializable, Comparable<CalendarSyncStatus>, Constable

public enum CalendarSyncStatus extends Enum<CalendarSyncStatus>
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.
  • Enum Constant Details

    • ACTIVE

      public static final CalendarSyncStatus ACTIVE
      Bound on both sides and synchronising.
    • REMOTE_CREATE_REFUSED

      public static final CalendarSyncStatus 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

      public static final CalendarSyncStatus 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

      public static final CalendarSyncStatus 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

      public static final CalendarSyncStatus 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

      public static final CalendarSyncStatus 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

      public static final CalendarSyncStatus 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

      public static CalendarSyncStatus[] 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

      public static CalendarSyncStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null