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 Constants -
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. This is the case with no other safety net at all — a destroyed event renders to nothing, and the verification pass deliberately refuses to conclude anything from an empty render, so nothing but this record will ever remove the object.
-
-
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
-