Class FacelessJooqCudProp
-
- All Implemented Interfaces:
@ConfigurationProperties(value = FacelessJooqCudProp.Key) public class FacelessJooqCudProp
CUD listener settings for jooq. wings-jooq-cud-79.properties
- Since:
2021-02-13
trydofor
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringKeypublic final static StringKey$createpublic final static StringKey$updatepublic final static StringKey$deletepublic Map<String, Set<String>>tablepublic final static StringKey$tablepublic Map<String, Set<String>>diffpublic final static StringKey$diff
-
Constructor Summary
Constructors Constructor Description FacelessJooqCudProp()
-
Method Summary
Modifier and Type Method Description Map<String, Set<String>>getTable()Listening tables and their fields. voidsetTable(@NotNull() Map<String, Set<String>> table)Map<String, Set<String>>getDiff()default fields to be ignored by JournalDiff. voidsetDiff(Map<String, Set<String>> diff)default fields to be ignored by JournalDiff. booleanisCreate()Whether to listen to create booleanisUpdate()Whether to listen to update booleanisDelete()Whether to listen to delete booleanequals(@Nullable() Object o)inthashCode()StringtoString()voidsetCreate(boolean create)Whether to listen to create voidsetUpdate(boolean update)Whether to listen to update voidsetDelete(boolean delete)Whether to listen to delete -
-
Method Detail
-
getTable
Map<String, Set<String>> getTable()
Listening tables and their fields. `empty` means no fields are recorded, `-` means this table is ignored. CUD listens to tables and fields, both tables and fields are case-sensitive.
-
getDiff
Map<String, Set<String>> getDiff()
default fields to be ignored by JournalDiff. Tables are case-sensitive, fields are case-insensitive, `default` means all tables, otherwise specific tables.
-
setDiff
void setDiff(Map<String, Set<String>> diff)
default fields to be ignored by JournalDiff. Tables are case-sensitive, fields are case-insensitive, `default` means all tables, otherwise specific tables.
-
isCreate
boolean isCreate()
Whether to listen to create
-
isUpdate
boolean isUpdate()
Whether to listen to update
-
isDelete
boolean isDelete()
Whether to listen to delete
-
hashCode
int hashCode()
-
setCreate
void setCreate(boolean create)
Whether to listen to create
-
setUpdate
void setUpdate(boolean update)
Whether to listen to update
-
setDelete
void setDelete(boolean delete)
Whether to listen to delete
-
-
-
-