Package ca.uhn.fhir.jpa.model.search
Enum SearchStatusEnum
- All Implemented Interfaces:
Serializable
,Comparable<SearchStatusEnum>
-
Enum Constant Summary
Enum ConstantDescriptionThe search failed and will not continueThe search completed normally and loaded all of the results it as permitted to loadThe search has been expired and will be expunged shortlyThe search is currently actively workingThe search has loaded a set of results and has stopped searching because it reached an appropriate threshold -
Method Summary
Modifier and TypeMethodDescriptionboolean
isDone()
Returns true if no more work will happen for this search (finished, failed, gone)static SearchStatusEnum
Returns the enum constant of this type with the specified name.static SearchStatusEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LOADING
The search is currently actively working -
PASSCMPLET
The search has loaded a set of results and has stopped searching because it reached an appropriate threshold -
FINISHED
The search completed normally and loaded all of the results it as permitted to load -
FAILED
The search failed and will not continue -
GONE
The search has been expired and will be expunged shortly
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
isDone
Returns true if no more work will happen for this search (finished, failed, gone)
-