Interface OutboundSyncStateObserver
- All Known Implementing Classes:
DefaultOutboundSyncJobRegister
public interface OutboundSyncStateObserver
Allows implementors to be notified about outbound sync job state changes.
-
Method Summary
Modifier and TypeMethodDescriptionvoidstateChanged(@NotNull OutboundSyncCronJobModel model, @NotNull OutboundSyncState state) Notifies the observer about the outbound sync job state change.
-
Method Details
-
stateChanged
void stateChanged(@NotNull @NotNull OutboundSyncCronJobModel model, @NotNull @NotNull OutboundSyncState state) Notifies the observer about the outbound sync job state change.- Parameters:
model- outbound sync cron job model, for which the state changed. Implementors should not rely on this model correctly reflecting persisted state because the model may be stale. It's just to identify what job has changed.state- new state the job has changed to.
-