Package org.exoplatform.caldav.model
Enum Class ServerQuirkDirection
- All Implemented Interfaces:
Serializable,Comparable<ServerQuirkDirection>,Constable
Which way a divergence between a copy and what eXo writes points.
The direction is not decoration: it decides which of the two stored lists a quirk is excused through, and it is what keeps an excusal from covering more than the administrator agreed to. A property the server adds and a property it drops are opposite facts about the same server, and each costs something different to stop noticing.
-
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 states a property eXo does not write at all — a proprietary hint the server stamps on what it stores.eXo writes a property the copy does not carry — the server declined to store it.Both sides state the property and they disagree — the server kept the property and rewrote its value. -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerQuirkDirectionReturns the enum constant of this class with the specified name.static ServerQuirkDirection[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADDED
The copy states a property eXo does not write at all — a proprietary hint the server stamps on what it stores. Excused through the ignored list. -
DROPPED
eXo writes a property the copy does not carry — the server declined to store it. Excused through the dropped list. -
REWRITTEN
Both sides state the property and they disagree — the server kept the property and rewrote its value. Excused through the dropped list too, but only for a catalogue entry that declares this direction, because excusing a rewrite gives up far more than excusing an absence: nothing about that property's value is compared on that server any more.
-
-
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
-