Package org.exoplatform.caldav.model
Enum Class PendingPushKind
- All Implemented Interfaces:
Serializable,Comparable<PendingPushKind>,Constable
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 ConstantsEnum ConstantDescriptionThe 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 TypeMethodDescriptionstatic PendingPushKindReturns the enum constant of this class with the specified name.static PendingPushKind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
-