Package annotation.tasks
Class AnnotationOfflineTask
java.lang.Object
offlineProcessing.OfflineTask
annotation.tasks.AnnotationOfflineTask
-
Constructor Summary
ConstructorDescriptionAnnotationOfflineTask
(PamDataBlock dataBlock, DataAnnotationType dataAnnotationType) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
void
Called when processing of loaded data, or each map point worth of data, is complete.void
newDataLoad
(long startTime, long endTime, OfflineDataMapPoint mapPoint) Called when new data are loaded for offline processing (or once at the start of processing loaded data).boolean
processDataUnit
(PamDataUnit dataUnit) Process a single data unit.Methods inherited from class offlineProcessing.OfflineTask
addAffectedDataBlock, addRequiredDataBlock, addRequiredDataBlock, addRequiredDataBlock, callSettings, canRun, completeTask, deleteOldData, deleteOldOutput, getAffectedBlocksList, getAffectedDataBlock, getDataBlock, getLongName, getNumAffectedDataBlocks, getNumRequiredDataBlocks, getOfflineTaskGroup, getRequiredDataBlock, getTaskControlledUnit, getUnitName, getUnitType, hasSettings, isDoRun, prepareTask, setDoRun, setOfflineTaskGroup, setParentDataBlock
-
Constructor Details
-
AnnotationOfflineTask
-
-
Method Details
-
getName
- Specified by:
getName
in classOfflineTask
- Returns:
- a name for the task, to be displayed in the dialog.
-
processDataUnit
Description copied from class:OfflineTask
Process a single data unit.- Specified by:
processDataUnit
in 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:OfflineTask
Called when new data are loaded for offline processing (or once at the start of processing loaded data).- Specified by:
newDataLoad
in classOfflineTask
- Parameters:
startTime
- start time of loaded dataendTime
- end time of loaded data
-
loadedDataComplete
public void loadedDataComplete()Description copied from class:OfflineTask
Called when processing of loaded data, or each map point worth of data, is complete.- Specified by:
loadedDataComplete
in classOfflineTask
-