Interface MCRJobStatusListener

All Known Implementing Classes:
MCRDefaultJobStatusListener

public interface MCRJobStatusListener
Interface one must implement to get notified about when an MCRJob has started, finished or failed. Add property "MCR.QueuedJob.<MCRJobAction.getClass().getSimpleName()>.Listeners" to your mycore.properties and provide an appropriate class implementing the interface.
Author:
shermann
  • Method Details

    • onError

      void onError(MCRJob job)
    • onSuccess

      void onSuccess(MCRJob job)
    • onProcessing

      void onProcessing(MCRJob job)