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

public static enum ArchiveManager.DatabaseState extends Enum<ArchiveManager.DatabaseState>
  • Enum Constant Details

    • NOT_INITIALIZED

      public static final ArchiveManager.DatabaseState NOT_INITIALIZED
      State before the first query to the basex server
    • ARCHIVES_LOADED

      public static final ArchiveManager.DatabaseState ARCHIVES_LOADED
      Archive names are queried from the basex server
    • ARCHIVE_TREE_LOADED

      public static final ArchiveManager.DatabaseState ARCHIVE_TREE_LOADED
      State only applicable to a single database if it was successfully loaded into memory
    • ERROR_NOT_CONFIGURED

      public static final ArchiveManager.DatabaseState ERROR_NOT_CONFIGURED
      No basex url configured in config-viewer
    • ERROR_NOT_REACHABLE

      public static final ArchiveManager.DatabaseState ERROR_NOT_REACHABLE
      basex url call not returned
    • ERROR_INVALID_FORMAT

      public static final ArchiveManager.DatabaseState ERROR_INVALID_FORMAT
      State only applicable to a single database if loading the database failed because the basex server answer could not be interpreted
    • ERROR_INVALID_CONFIGURATION

      public static final ArchiveManager.DatabaseState ERROR_INVALID_CONFIGURATION
      State indicating that a database could not be parsed due to errors in the configuration for building the tree entries
  • Method Details

    • values

      public static ArchiveManager.DatabaseState[] 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

      public static ArchiveManager.DatabaseState valueOf(String name)
      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 name
      NullPointerException - if the argument is null