Enum SchemaMetaDataMode

java.lang.Object
java.lang.Enum<SchemaMetaDataMode>
org.assertj.db.type.SchemaMetaDataMode
All Implemented Interfaces:
Serializable, Comparable<SchemaMetaDataMode>

public enum SchemaMetaDataMode extends Enum<SchemaMetaDataMode>
Define existing schema metadata retrieval mode.
Since:
3.0.0
Author:
Julien Roy
  • Enum Constant Details

    • STATIC

      public static final SchemaMetaDataMode STATIC
      Retrieve schema metadata only once and keep in memory for all duration of connection provider. To use when database schema is not modified during tests.
    • DYNAMIC

      public static final SchemaMetaDataMode DYNAMIC
      Retrieve schema metadata each time is required. To use when database schema is modified during tests.
  • Method Details

    • values

      public static SchemaMetaDataMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static SchemaMetaDataMode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null