Uses of Class
guru.mikelue.jdut.vendor.DatabaseVendor
-
Packages that use DatabaseVendor Package Description guru.mikelue.jdut.annotation Defines annotations could be used to integrate testing framework.guru.mikelue.jdut.vendor This package defines theVendors
, which is used to discriminate vendor-specific funcdtions. -
-
Uses of DatabaseVendor in guru.mikelue.jdut.annotation
Methods in guru.mikelue.jdut.annotation that return DatabaseVendor Modifier and Type Method Description DatabaseVendor[]
match()
Any one of the vendors matches environment.
Default value isUnknown
DatabaseVendor[]
notMatch()
Any one of the vendors must not match environment.
Default value isUnknown
Methods in guru.mikelue.jdut.annotation with parameters of type DatabaseVendor Modifier and Type Method Description static boolean
AnnotationUtil. matchDatabaseVendor(DatabaseVendor vendor, IfDatabaseVendor annotationValue)
Checks whether or not the vendor of database match the value of annotation.
If vendor parameter is null, the result would be true. -
Uses of DatabaseVendor in guru.mikelue.jdut.vendor
Methods in guru.mikelue.jdut.vendor that return DatabaseVendor Modifier and Type Method Description static DatabaseVendor
DatabaseVendor. getVendor(DatabaseMetaData databaseMetaData)
Gets vendor fromDatabaseMetaData
.static DatabaseVendor
DatabaseVendor. getVendor(DataSource dataSource)
Gets vendor from data source.static DatabaseVendor
DatabaseVendor. valueOf(String name)
Returns the enum constant of this type with the specified name.static DatabaseVendor[]
DatabaseVendor. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in guru.mikelue.jdut.vendor with parameters of type DatabaseVendor Modifier and Type Method Description static OperatorPredicate
DatabaseVendor. buildOperatorPredicate(DatabaseVendor needVendor)
BuildsOperatorPredicate
for check ofDatabaseVendor
.
-