Package clickDetector.tethys
Class ClickEventTethysDataProvider
java.lang.Object
tethys.pamdata.AutoTethysProvider
clickDetector.tethys.ClickEventTethysDataProvider
- All Implemented Interfaces:
 TethysDataProvider
- 
Constructor Summary
ConstructorsConstructorDescriptionClickEventTethysDataProvider(TethysControl tethysControl, OfflineEventDataBlock eventDataBlock)  - 
Method Summary
Modifier and TypeMethodDescriptionnilus.DetectioncreateDetection(PamDataUnit dataUnit, TethysExportParams tethysExportParams, StreamExportParams streamExportParams) Create a Tethys Detection object from a PamDataUnit.
It's OK for this to return null if for some reason the unit shouldn't be stored.nilus.GranularityEnumType[]Get a list of allowed granularity types for this outputbooleangranularityOK(nilus.GranularityEnumType granularityType) Granularity is OK for export.Methods inherited from class tethys.pamdata.AutoTethysProvider
addUserDefined, canExportLocalisations, getAlgorithm, getAlgorithmParameters, getDescription, getDetectionsMethod, getDetectionsName, getEffortKinds, getLocalisationAlgorithm, getLocalisationInfo, getLocalisationParameters, getPamDataBlock, getTethysControl, hasDetections, isAddFrequencyInfo, packAnnotation, roundDecimalPlaces, roundSignificantFigures, setAddFrequencyInfo, wantExportDialogCard 
- 
Constructor Details
- 
ClickEventTethysDataProvider
public ClickEventTethysDataProvider(TethysControl tethysControl, OfflineEventDataBlock eventDataBlock)  
 - 
 - 
Method Details
- 
getAllowedGranularities
public nilus.GranularityEnumType[] getAllowedGranularities()Description copied from interface:TethysDataProviderGet a list of allowed granularity types for this output- Specified by:
 getAllowedGranularitiesin interfaceTethysDataProvider- Overrides:
 getAllowedGranularitiesin classAutoTethysProvider- Returns:
 - list of granularities.
 
 - 
createDetection
public nilus.Detection createDetection(PamDataUnit dataUnit, TethysExportParams tethysExportParams, StreamExportParams streamExportParams) Description copied from interface:TethysDataProviderCreate a Tethys Detection object from a PamDataUnit.
It's OK for this to return null if for some reason the unit shouldn't be stored.- Specified by:
 createDetectionin interfaceTethysDataProvider- Overrides:
 createDetectionin classAutoTethysProvider- Parameters:
 dataUnit- PAMGuard data unittethysExportParams-streamExportParams-- Returns:
 - Detection Tethys Detection object.
 
 - 
granularityOK
public boolean granularityOK(nilus.GranularityEnumType granularityType) Description copied from class:AutoTethysProviderGranularity is OK for export.- Overrides:
 granularityOKin classAutoTethysProvider- Parameters:
 granularityType-- Returns:
 
 
 -