Package qa.analyser
Class QAQueuedTask
java.lang.Object
PamguardMVC.PamDataUnit
qa.analyser.QAQueuedTask
- All Implemented Interfaces:
Comparable
Use a re-threaded data unit list to manage analysis tasks.
- Author:
- dg50
-
Constructor Summary
ConstructorDescriptionQAQueuedTask
(long timeMilliseconds, QAReportOptions qaReportOptions, List<QATestDataUnit> multipleTests) QAQueuedTask
(long timeMilliseconds, QAReportOptions qaReportOptions, QATestDataUnit singleTest) -
Method Summary
Modifier and TypeMethodDescriptionint
getTestsForCluster
(QACluster cluster) Get the tests associated with a particular cluster.Get a list of unique clusters represented in these dataMethods inherited from class PamguardMVC.PamDataUnit
addDataAnnotation, addSuperDetection, amplifyMeasuredAmplitudeByDB, amplifyMeasuredAmplitudeByLinear, calcSnapshotGeometry, clearOandAngles, clearUpdateCount, compareTo, findDataAnnotation, findDataAnnotation, freeData, getAbsBlockIndex, getAmplitudeDB, getAnnotationsSummaryString, getBasicData, getCalculatedAmlitudeDB, getChannelBitmap, getColourIndex, getDataAnnotation, getDatabaseIndex, getDatabaseUpdateOf, getDataUnitFileInformation, getDataUnitPopupMenu, getDurationInMilliseconds, getEndTimeInMilliseconds, getFrequency, getFrequencyOverlap, getHydrophoneBitmap, getHydrophoneHeading, getLastChangeTime, getLastSample, getLastUpdateTime, getLocalisation, getMeasuredAmplitude, getMeasuredAmplitudeType, getNoiseBackground, getNumDataAnnotations, getOriginLatLong, getParentDataBlock, getSampleDuration, getSampleDurationAsInt, getSeconds, getSequenceBitmap, getSequenceBitmapObject, getSignalExcess, getSignalSPL, getSnapshotGeometry, getStartSample, getSummaryString, getSuperDetection, getSuperDetection, getSuperDetection, getSuperDetection, getSuperDetection, getSuperDetectionsCount, getSuperDetectionSyncronisation, getSuperId, getTimeDelaysSeconds, getTimeMilliseconds, getTimeNanoseconds, getTimeOverlap, getUID, getUpdateCount, isEmbryonic, isForceAmpRecalc, linAmplitudeToDB, removeDataAnnotation, removeDataAnnotation, removeSuperDetection, setAbsBlockIndex, setCalculatedAmlitudeDB, setChannelBitmap, setDatabaseIndex, setDatabaseUpdateOf, setDataUnitFileInformation, setDurationInMilliseconds, setEmbryonic, setForceAmpRecalc, setFrequency, setInfo, setLastUpdateTime, setLocalisation, setMeasuredAmpAndType, setMeasuredAmplitude, setMeasuredAmplitudeType, setNoiseBackground, setParentDataBlock, setSampleDuration, setSequenceBitmap, setSignalExcess, setSignalSPL, setSnapshotGeometry, setStartSample, setTimeDelaysSeconds, setTimeMilliseconds, setUID, setUniqueSuperDetection, sortOutputMaps, updateDataUnit
-
Constructor Details
-
QAQueuedTask
public QAQueuedTask(long timeMilliseconds, QAReportOptions qaReportOptions, QATestDataUnit singleTest) - Parameters:
timeMilliseconds
- Current time of analysisqaReportOptions
-
-
QAQueuedTask
public QAQueuedTask(long timeMilliseconds, QAReportOptions qaReportOptions, List<QATestDataUnit> multipleTests)
-
-
Method Details
-
getNumTests
public int getNumTests()- Returns:
- the number of tasks in this job,
-
getUniqueClusters
Get a list of unique clusters represented in these data- Returns:
-
getTestsForCluster
Get the tests associated with a particular cluster.- Parameters:
cluster
- cluster to search for- Returns:
- array list of tests of that cluster.
-
getReportOptions
- Returns:
- the reportOptions
-