Package clickDetector.tethys
Class ClickEventTethysDataProvider
java.lang.Object
tethys.pamdata.AutoTethysProvider
clickDetector.tethys.ClickEventTethysDataProvider
- All Implemented Interfaces:
TethysDataProvider
-
Constructor Summary
ConstructorDescriptionClickEventTethysDataProvider
(TethysControl tethysControl, OfflineEventDataBlock eventDataBlock) -
Method Summary
Modifier and TypeMethodDescriptionnilus.Detection
createDetection
(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 outputboolean
granularityOK
(nilus.GranularityEnumType granularityType) Granularity is OK for export.Methods inherited from class tethys.pamdata.AutoTethysProvider
addUserDefined, canExportLocalisations, getAlgorithm, getAlgorithmParameters, getDescription, getDetectionsMethod, getDetectionsName, getEffortKinds, getLocalisationInfo, getLocalisationParameters, getTethysControl, hasDetections, isAddFrequencyInfo, roundDecimalPlaces, roundSignificantFigures, setAddFrequencyInfo, wantExportDialogCard
-
Constructor Details
-
ClickEventTethysDataProvider
public ClickEventTethysDataProvider(TethysControl tethysControl, OfflineEventDataBlock eventDataBlock)
-
-
Method Details
-
getAllowedGranularities
public nilus.GranularityEnumType[] getAllowedGranularities()Description copied from interface:TethysDataProvider
Get a list of allowed granularity types for this output- Specified by:
getAllowedGranularities
in interfaceTethysDataProvider
- Overrides:
getAllowedGranularities
in classAutoTethysProvider
- Returns:
- list of granularities.
-
createDetection
public nilus.Detection createDetection(PamDataUnit dataUnit, TethysExportParams tethysExportParams, StreamExportParams streamExportParams) Description copied from interface:TethysDataProvider
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.- Specified by:
createDetection
in interfaceTethysDataProvider
- Overrides:
createDetection
in classAutoTethysProvider
- Parameters:
dataUnit
- PAMGuard data unit- Returns:
- Detection Tethys Detection object.
-
granularityOK
public boolean granularityOK(nilus.GranularityEnumType granularityType) Description copied from class:AutoTethysProvider
Granularity is OK for export.- Overrides:
granularityOK
in classAutoTethysProvider
- Returns:
-