Uses of Enum Class
migratedb.v1.core.api.callback.Event
Packages that use Event
Package
Description
Interfaces for MigrateDB lifecycle callbacks.
Private API.
-
Uses of Event in migratedb.v1.core.api.callback
Methods in migratedb.v1.core.api.callback that return EventModifier and TypeMethodDescriptionstatic EventRetrieves the event with this id.static EventReturns the enum constant of this class with the specified name.static Event[]Event.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in migratedb.v1.core.api.callback with parameters of type EventModifier and TypeMethodDescriptionbooleanBaseCallback.canHandleInTransaction(Event event, Context context) booleanCallback.canHandleInTransaction(Event event, Context context) Whether this event can be handled in a transaction or whether it must be handled outside a transaction instead.voidHandles this MigrateDB lifecycle event.booleanbooleanWhether this callback supports this event or not. -
Uses of Event in migratedb.v1.core.api.internal.callback
Methods in migratedb.v1.core.api.internal.callback with parameters of type EventModifier and TypeMethodDescriptionvoidCallbackExecutor.onEachMigrateEvent(Event event) Executes the callbacks for an "each" event within the same transaction (if any) as the main operation.voidExecutes the callbacks for this event on the main connection, within a separate transaction per callback if possible.voidCallbackExecutor.onMigrateEvent(Event event) Executes the callbacks for this event on the migration connection, within a separate transaction per callback if possible.voidCallbackExecutor.onOperationFinishEvent(Event event, OperationResult operationResult) Executes the callbacks for an operation finish event. -
Uses of Event in migratedb.v1.core.internal.callback
Methods in migratedb.v1.core.internal.callback with parameters of type EventModifier and TypeMethodDescriptionbooleanNoopCallback.canHandleInTransaction(Event event, Context context) voidvoidDefaultCallbackExecutor.onEachMigrateEvent(Event event) voidNoopCallbackExecutor.onEachMigrateEvent(Event event) voidvoidvoidDefaultCallbackExecutor.onMigrateEvent(Event event) voidNoopCallbackExecutor.onMigrateEvent(Event event) voidDefaultCallbackExecutor.onOperationFinishEvent(Event event, OperationResult operationResult) voidNoopCallbackExecutor.onOperationFinishEvent(Event event, OperationResult operationResult) boolean