Package org.assertj.db.type
Enum SchemaMetaDataMode
- All Implemented Interfaces:
Serializable,Comparable<SchemaMetaDataMode>
Define existing schema metadata retrieval mode.
- Since:
- 3.0.0
- Author:
- Julien Roy
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic SchemaMetaDataModeReturns the enum constant of this type with the specified name.static SchemaMetaDataMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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
Retrieve schema metadata each time is required. To use when database schema is modified during tests.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-