Class AbstractSynchronizeBackend.Worker

  • All Implemented Interfaces:
    de.willuhn.jameica.system.BackgroundTask
    Enclosing class:
    AbstractSynchronizeBackend<T extends SynchronizeJobProvider>

    protected class AbstractSynchronizeBackend.Worker
    extends java.lang.Object
    implements de.willuhn.jameica.system.BackgroundTask
    Implementierung des eigentlichen Worker-Threads.
    • Method Detail

      • getMonitor

        public final de.willuhn.util.ProgressMonitor getMonitor()
        Liefert den ProgressMonitor.
        Returns:
        der ProgressMonitor.
      • getCurrentJobGroup

        public final AbstractSynchronizeBackend.JobGroup getCurrentJobGroup()
        Liefert die gerade in Arbeit befindliche Job-Gruppe.
        Returns:
        die gerade in Arbeit befindliche Job-Gruppe.
      • run

        public final void run​(de.willuhn.util.ProgressMonitor monitor)
                       throws de.willuhn.util.ApplicationException
        Specified by:
        run in interface de.willuhn.jameica.system.BackgroundTask
        Throws:
        de.willuhn.util.ApplicationException
      • interrupt

        public final void interrupt()
        Specified by:
        interrupt in interface de.willuhn.jameica.system.BackgroundTask
      • isInterrupted

        public final boolean isInterrupted()
        Specified by:
        isInterrupted in interface de.willuhn.jameica.system.BackgroundTask