Class UIDRepairFunctions

java.lang.Object
PamguardMVC.uid.repair.UIDRepairFunctions

public class UIDRepairFunctions extends Object
  • Constructor Details

  • Method Details

    • regenUIDs

      public boolean regenUIDs(ArrayList<UIDRepairRequest> repairRequests, UIDStatusReport totalReport)
      Regenerate UID's offline - may have some use online too, so have kept this out of the UIDViewerManager class.
      Parameters:
      totalReport -
      dbState - state of the database
      binState - state of the binary file system.
      Returns:
      true if fixes completed successfully.
    • startUIDRepairJob

      public void startUIDRepairJob(UIDRepairParams uidParams, UIDMessageInterface uidMessageInterface)
    • repairUIDs

      public void repairUIDs(UIDRepairParams uidParams, UIDMessageInterface uidMessageInterface)
      Called back from the dialog. Will somehow need to get messages back to the dialog in the AWT thread from within here. All very confusing as to which thread we are now in !
      Parameters:
      uidParams -
      uidMessageInterface -
    • copyDataFile

      public boolean copyDataFile(BinaryStore binaryStore, PamDataBlock dataBlock, BinaryOfflineDataMapPoint mapPoint, UIDRepairParams uidParams, boolean regenerateUIDs, FileCopyObserver fileCopyObserver)
    • resetNegativeUIDCounter

      public void resetNegativeUIDCounter()
    • errorsOccured

      public boolean errorsOccured()