Class EventCheckTask
java.lang.Object
offlineProcessing.OfflineTask
clickDetector.offlineFuncs.eventtasks.EventCheckTask
- All Implemented Interfaces:
 DatabaseCheckObserver
Event check repair task, so it can be called from batch processor
 since events are probably all in memory, ignore normal ways of 
 accessing data and do own things.
- Author:
 - dg50
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidcheckOutputText(String text, int warnLevel) voidcheckProgress(String text, int totalTasks, int taskNumber, int percent) getName()voidCalled when processing of loaded data, or each map point worth of data, is complete.voidnewDataLoad(long startTime, long endTime, OfflineDataMapPoint mapPoint) Called when new data are loaded for offline processing (or once at the start of processing loaded data).booleanprocessDataUnit(PamDataUnit dataUnit) Process a single data unit.booleanMethods inherited from class offlineProcessing.OfflineTask
addAffectedDataBlock, addRequiredDataBlock, addRequiredDataBlock, addRequiredDataBlock, callSettings, callSettings, canRun, completeTask, deleteOldData, deleteOldOutput, getAffectedBlocksList, getAffectedDataBlock, getDataBlock, getLongName, getNumAffectedDataBlocks, getNumRequiredDataBlocks, getOfflineTaskGroup, getParentControlledUnit, getRequiredDataBlock, getSettingsProviders, getTaskControlledUnit, getUnitName, getUnitType, hasSettings, isDoRun, prepareTask, setDoRun, setOfflineTaskGroup, setParentDataBlock, whyNot 
- 
Constructor Details
- 
EventCheckTask
 
 - 
 - 
Method Details
- 
getName
- Specified by:
 getNamein classOfflineTask- Returns:
 - a name for the task, to be displayed in the dialog.
 
 - 
processDataUnit
Description copied from class:OfflineTaskProcess a single data unit.- Specified by:
 processDataUnitin classOfflineTask- Returns:
 - true if the data unit has changed in some way so that it will need re-writing to it's binary file or database.
 
 - 
newDataLoad
Description copied from class:OfflineTaskCalled when new data are loaded for offline processing (or once at the start of processing loaded data).- Specified by:
 newDataLoadin classOfflineTask- Parameters:
 startTime- start time of loaded dataendTime- end time of loaded data
 - 
loadedDataComplete
public void loadedDataComplete()Description copied from class:OfflineTaskCalled when processing of loaded data, or each map point worth of data, is complete.- Specified by:
 loadedDataCompletein classOfflineTask
 - 
checkProgress
- Specified by:
 checkProgressin interfaceDatabaseCheckObserver
 - 
checkOutputText
- Specified by:
 checkOutputTextin interfaceDatabaseCheckObserver
 - 
stopChecks
public boolean stopChecks()- Specified by:
 stopChecksin interfaceDatabaseCheckObserver
 
 -