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

    • STARTED

      public static final DBServerState STARTED
      Started.
    • STOPPED

      public static final DBServerState STOPPED
      Stopped.
    • STARTING

      public static final DBServerState STARTING
      Starting.
    • STOPPING

      public static final DBServerState STOPPING
      Stopping.
    • START_FAILED

      public static final DBServerState START_FAILED
      Failed starting.
    • CONNECTABLE

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

      public static final DBServerState CONNECTION_FAILED
      Connection failed.
    • INVALID_HOST

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

      public static final DBServerState UNKNOWN
      Unknown state.
  • Method Details

    • values

      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

      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