Class ReprocessManager

java.lang.Object
PamController.fileprocessing.ReprocessManager

public class ReprocessManager extends Object
Set of functions to help decide what to do when reprocessing. These are probably all called from AcquisitionProcess, but it's easier to have them in their own class.
Author:
dg50
  • Constructor Details

    • ReprocessManager

      public ReprocessManager()
  • Method Details

    • startCheckingThread

      public void startCheckingThread(Frame mainFrame, ReprocessManagerMonitor mon)
      Start a Swing worker thread to do the checks and to display a progress bar while doing it.

      Then when it's done, send the result to the monitor, which is basically telling PamController whether or not to continue with start up

      Parameters:
      mainFrame -
      mon - monitor for final status message / instruction.
    • checkOutputDataStatus

      public boolean checkOutputDataStatus()
      public ReprocessManager() { // TODO Auto-generated constructor stub } /* run checks on the output data storage system. If data already exist in the output we may not want to start again.
    • checkOutputDataStatus

      public boolean checkOutputDataStatus(PamWorkMonitor workMonitor)
    • isOfflineFiles

      public boolean isOfflineFiles()
      Return true if we seem to be reprocessing offline files. Note that this might be the Tritech data as well as the sound acquisition so have added an abstract intermediate class on the controlled units so we can check them all.
      Returns: