Enum Class DocumentSource
- All Implemented Interfaces:
Serializable, Comparable<DocumentSource>, Constable
The maintained representation observed by a
HandleDocument handler.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInternal current Model state, including DOCUMENT Models that are not searchable.Searchable Model nodes, logical Model Graphs, and ordinary read-model documents. -
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentSourceReturns the enum constant of this class with the specified name.static DocumentSource[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SEARCH
Searchable Model nodes, logical Model Graphs, and ordinary read-model documents. -
MODEL_STATE
Internal current Model state, including DOCUMENT Models that are not searchable.
-
-
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
-