Enum Class SearchIndexStatus
- All Implemented Interfaces:
Serializable
,Comparable<SearchIndexStatus>
,Constable
Representation of different conditions a search index can be in.
- Since:
- 4.5
- Author:
- Christoph Strobl
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionbuilding or re-building the index - might be queryablewill cease to exist - no longer queryablenothing to be seen here - not queryablewell, this one is broken - not queryablebusy with other things, check back later - not queryableask me anything - queryableask me anything about outdated data - still queryable -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchIndexStatus
Returns the enum constant of this class with the specified name.static SearchIndexStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BUILDING
building or re-building the index - might be queryable -
DOES_NOT_EXIST
nothing to be seen here - not queryable -
DELETING
will cease to exist - no longer queryable -
FAILED
well, this one is broken - not queryable -
PENDING
busy with other things, check back later - not queryable -
READY
ask me anything - queryable -
STALE
ask me anything about outdated data - still queryable
-
-
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
-