Class ConsoleProgressMonitor

java.lang.Object
de.tarent.extract.ConsoleProgressMonitor
All Implemented Interfaces:
org.evolvis.tartools.backgroundjobs.BackgroundJobMonitor

public class ConsoleProgressMonitor extends Object implements org.evolvis.tartools.backgroundjobs.BackgroundJobMonitor
  • Constructor Details

    • ConsoleProgressMonitor

      public ConsoleProgressMonitor(PrintWriter printWriter, int barWidth)
  • Method Details

    • log

      public void log(org.evolvis.tartools.backgroundjobs.BackgroundJobMonitor.Severity severity, Object message)
      Specified by:
      log in interface org.evolvis.tartools.backgroundjobs.BackgroundJobMonitor
    • isAborting

      public boolean isAborting()
      Specified by:
      isAborting in interface org.evolvis.tartools.backgroundjobs.BackgroundJobMonitor
    • getScheduledJobId

      public String getScheduledJobId()
      Specified by:
      getScheduledJobId in interface org.evolvis.tartools.backgroundjobs.BackgroundJobMonitor
    • announceTotal

      public void announceTotal(int totalItems)
      Specified by:
      announceTotal in interface org.evolvis.tartools.backgroundjobs.BackgroundJobMonitor
    • reportProgressIncrement

      public void reportProgressIncrement(int items)
      Specified by:
      reportProgressIncrement in interface org.evolvis.tartools.backgroundjobs.BackgroundJobMonitor
    • reportProgressAbsolute

      public void reportProgressAbsolute(int items)
      Specified by:
      reportProgressAbsolute in interface org.evolvis.tartools.backgroundjobs.BackgroundJobMonitor