Enum Class PendingPushKind

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

public enum PendingPushKind extends Enum<PendingPushKind>
What eXo still owes one calendar copy.

Two instructions and not one, because a calendar cannot infer the second from the first. Rewriting a copy needs the eXo event to render; removing one happens precisely when that event no longer exists, so the only identity left to address the object by is the iCalendar UID the mapping row carries. A single "something is owed" marker would have to guess which of the two it meant, and the guess it would get wrong — treating a removal as a rewrite — puts a meeting back into somebody's calendar after it was called off.

  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The copy has to go: the eXo event behind it was destroyed, or it still exists but may no longer hold a copy (it became a date poll) or its holder is no longer invited to it (removed from the meeting).
    The copy has to be written again from the eXo event: a meeting was moved, renamed, relocated or cancelled, and the copy still shows what it said before.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • REWRITE

      public static final PendingPushKind REWRITE
      The copy has to be written again from the eXo event: a meeting was moved, renamed, relocated or cancelled, and the copy still shows what it said before.
    • REMOVE

      public static final PendingPushKind REMOVE
      The copy has to go: the eXo event behind it was destroyed, or it still exists but may no longer hold a copy (it became a date poll) or its holder is no longer invited to it (removed from the meeting). For a destroyed event and for a removed invitee, nothing but this record will ever remove the object; a poll's copy in the meeting copies' collection is also retired by the verification pass. While this record stands, the verification pass does not repair the copy: a removed invitee may still read the meeting, and a repair, written as them, would put the copy back.
  • Method Details

    • values

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