Enum Class CalendarSyncPauseReason

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

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

    • CREDENTIALS

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

      public static final CalendarSyncPauseReason FAILING_IMPORTS
      The collection's imports failed too many times in a row. The account's login is not in question.
    • DISCONNECT

      public static final CalendarSyncPauseReason DISCONNECT
      The user disconnected the account; the binding is kept for a reconnection of the same account.
  • Method Details

    • values

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