Package PamController.fileprocessing
Class ReprocessManager
java.lang.Object
PamController.fileprocessing.ReprocessManager
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
public ReprocessManager() { // TODO Auto-generated constructor stub } /* run checks on the output data storage system.boolean
checkOutputDataStatus
(PamWorkMonitor workMonitor) boolean
Return true if we seem to be reprocessing offline files.void
startCheckingThread
(Frame mainFrame, ReprocessManagerMonitor mon) Start a Swing worker thread to do the checks and to display a progress bar while doing it.
-
Constructor Details
-
ReprocessManager
public ReprocessManager()
-
-
Method Details
-
startCheckingThread
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
-
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:
-