Package guru.mikelue.jdut.annotation
Annotation Type IfDatabaseVendor
-
@Target({ANNOTATION_TYPE,CONSTRUCTOR,FIELD,LOCAL_VARIABLE,METHOD,PACKAGE,PARAMETER,TYPE,TYPE_PARAMETER,TYPE_USE}) @Retention(RUNTIME) @Documented @Inherited public @interface IfDatabaseVendor
Defines the annotation used to check if the current vendor is matched the environment(implemented by container, framework., etc.).
The default value isDatabaseVendor.Unknown, which means nothing to checked(everything is passed always).
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description DatabaseVendor[]matchAny one of the vendors matches environment.
Default value isDatabaseVendor.UnknownDatabaseVendor[]notMatchAny one of the vendors must not match environment.
Default value isDatabaseVendor.Unknown
-
-
-
Element Detail
-
match
DatabaseVendor[] match
Any one of the vendors matches environment.
Default value isDatabaseVendor.Unknown- Returns:
- The array of vendors that any one of them is matched
- Default:
- {guru.mikelue.jdut.vendor.DatabaseVendor.Unknown}
-
-
-
notMatch
DatabaseVendor[] notMatch
Any one of the vendors must not match environment.
Default value isDatabaseVendor.Unknown- Returns:
- The array of vendors that any one of them is not matched
- Default:
- {guru.mikelue.jdut.vendor.DatabaseVendor.Unknown}
-
-