Enum Class DBServerState

java.lang.Object
java.lang.Enum<DBServerState>
com.iizix.jdbc.DBServerState
All Implemented Interfaces:
Serializable, Comparable<DBServerState>, Constable

public enum DBServerState extends Enum<DBServerState>
Derby network database server state.
Author:
Christopher Mindus
  • Enum Constant Details Link icon

    • STARTED Link icon

      public static final DBServerState STARTED
      Started.
    • STOPPED Link icon

      public static final DBServerState STOPPED
      Stopped.
    • STARTING Link icon

      public static final DBServerState STARTING
      Starting.
    • STOPPING Link icon

      public static final DBServerState STOPPING
      Stopping.
    • START_FAILED Link icon

      public static final DBServerState START_FAILED
      Failed starting.
    • CONNECTABLE Link icon

      public static final DBServerState CONNECTABLE
      Connectable to the host and port.
    • CONNECTION_FAILED Link icon

      public static final DBServerState CONNECTION_FAILED
      Connection failed.
    • INVALID_HOST Link icon

      public static final DBServerState INVALID_HOST
      Invalid address or host name.
    • UNKNOWN Link icon

      public static final DBServerState UNKNOWN
      Unknown state.
  • Method Details Link icon

    • values Link icon

      public static DBServerState[] 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 Link icon

      public static DBServerState 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