Package org.exoplatform.caldav.service
Enum Class CaldavAnswerAdoptionService.Outcome
java.lang.Object
java.lang.Enum<CaldavAnswerAdoptionService.Outcome>
org.exoplatform.caldav.service.CaldavAnswerAdoptionService.Outcome
- All Implemented Interfaces:
Serializable,Comparable<CaldavAnswerAdoptionService.Outcome>,Constable
- Enclosing class:
CaldavAnswerAdoptionService
public static enum CaldavAnswerAdoptionService.Outcome
extends Enum<CaldavAnswerAdoptionService.Outcome>
What one adoption pass over one object did.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAt least one answer was read off the object and recorded in agenda.An answer was found and recording it failed; nothing may overwrite it.The object carries no answer eXo does not already hold.The object could not be read, so whether it carries an answer is unknown; nothing may overwrite it either. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static CaldavAnswerAdoptionService.Outcome[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOTHING
The object carries no answer eXo does not already hold. -
ADOPTED
At least one answer was read off the object and recorded in agenda. -
FAILED
An answer was found and recording it failed; nothing may overwrite it. -
UNREADABLE
The object could not be read, so whether it carries an answer is unknown; nothing may overwrite it either.Its own outcome rather than
NOTHING, and that is the whole point of it. "Nothing was answered here" and "I could not tell" lead to opposite decisions: the first lets the caller repair the copy back to what eXo holds, the second must not, because the copy may be the only record of an answer the user gave in their own client (EXO-89820).
-
-
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
-