Package PamguardMVC.uid.repair
Class UIDRepairFunctions
java.lang.Object
PamguardMVC.uid.repair.UIDRepairFunctions
-
Constructor Summary
ConstructorDescriptionUIDRepairFunctions
(PamController pamController, UIDMessageInterface messageInterface) -
Method Summary
Modifier and TypeMethodDescriptionboolean
copyDataFile
(BinaryStore binaryStore, PamDataBlock dataBlock, BinaryOfflineDataMapPoint mapPoint, UIDRepairParams uidParams, boolean regenerateUIDs, FileCopyObserver fileCopyObserver) boolean
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.void
repairUIDs
(UIDRepairParams uidParams, UIDMessageInterface uidMessageInterface) Called back from the dialog.void
void
startUIDRepairJob
(UIDRepairParams uidParams, UIDMessageInterface uidMessageInterface)
-
Constructor Details
-
UIDRepairFunctions
-
-
Method Details
-
regenUIDs
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 databasebinState
- state of the binary file system.- Returns:
- true if fixes completed successfully.
-
startUIDRepairJob
-
repairUIDs
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()
-