Package io.goobi.viewer.model.archives
Enum Class ArchiveManager.DatabaseState
java.lang.Object
java.lang.Enum<ArchiveManager.DatabaseState>
io.goobi.viewer.model.archives.ArchiveManager.DatabaseState
- All Implemented Interfaces:
Serializable
,Comparable<ArchiveManager.DatabaseState>
,Constable
- Enclosing class:
- ArchiveManager
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionState only applicable to a single database if it was successfully loaded into memoryArchive names are queried from the serverurl call not returnedState before the first query to the server -
Method Summary
Modifier and TypeMethodDescriptionstatic ArchiveManager.DatabaseState
Returns the enum constant of this class with the specified name.static ArchiveManager.DatabaseState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_INITIALIZED
State before the first query to the server -
ARCHIVES_LOADED
Archive names are queried from the server -
ARCHIVE_TREE_LOADED
State only applicable to a single database if it was successfully loaded into memory -
ERROR_NOT_REACHABLE
url call not returned
-
-
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
-