Enum Class Cluster.CodingKeys

java.lang.Object
java.lang.Enum<Cluster.CodingKeys>
com.cryptoalgo.oursql.model.db.Cluster.CodingKeys
All Implemented Interfaces:
Serializable, Comparable<Cluster.CodingKeys>, Constable
Enclosing class:
Cluster

public static enum Cluster.CodingKeys extends Enum<Cluster.CodingKeys>
Keys for encoding/decoding
  • Enum Constant Details

    • host

      public static final Cluster.CodingKeys host
      CodingKey for the connection host
    • database

      public static final Cluster.CodingKeys database
      CodingKey for the database path
    • port

      public static final Cluster.CodingKeys port
      CodingKey for the connection port
    • name

      public static final Cluster.CodingKeys name
      CodingKey for the cluster name
    • username

      public static final Cluster.CodingKeys username
      CodingKey for the authentication username
    • dbms

      public static final Cluster.CodingKeys dbms
      CodingKey for an identifier of the DBMS of this cluster
  • Method Details

    • values

      public static Cluster.CodingKeys[] 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 Cluster.CodingKeys 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