CrudEventsannotation is used to specify which CRUD operations should send Motech events. CrudEvents value is an array of one or more values specified in
CrudEventTypeenum, that is: CREATE, UPDATE, DELETE. There are also two special values - ALL, NONE. When provided, all CRUD operations are enabled/disabled for entity, regardless of presence of other values.
This annotation is processed by
org.motechproject.mds.annotations.internal.CrudEventsProcessorand can be applied only to class which is also annotated with
Entity. It has no effect otherwise.