Package rocca.tethys
Class RoccaTethysProvider
java.lang.Object
tethys.pamdata.TethysDataProvider
tethys.pamdata.AutoTethysProvider
rocca.tethys.RoccaTethysProvider
-
Constructor Summary
ConstructorsConstructorDescriptionRoccaTethysProvider(TethysControl tethysControl, RoccaControl roccaControl, PamDataBlock pamDataBlock) -
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 outputMethods inherited from class tethys.pamdata.AutoTethysProvider
canExportLocalisations, getAlgorithm, getAlgorithmParameters, getDescription, getDetectionsMethod, getDetectionsName, getEffortKinds, getLocalisationAlgorithm, getLocalisationInfo, getLocalisationParameters, getPamDataBlock, getTethysControl, granularityOK, hasDetections, isAddFrequencyInfo, packAnnotation, roundDecimalPlaces, roundSignificantFigures, setAddFrequencyInfo, wantExportDialogCardMethods inherited from class tethys.pamdata.TethysDataProvider
addUserDefined, getHelper
-
Constructor Details
-
RoccaTethysProvider
public RoccaTethysProvider(TethysControl tethysControl, RoccaControl roccaControl, PamDataBlock pamDataBlock)
-
-
Method Details
-
createDetection
public nilus.Detection createDetection(PamDataUnit dataUnit, TethysExportParams tethysExportParams, StreamExportParams streamExportParams) Description copied from class: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.- Overrides:
createDetectionin classAutoTethysProvider- Parameters:
dataUnit- PAMGuard data unittethysExportParams-streamExportParams-- Returns:
- Detection Tethys Detection object.
-
getAllowedGranularities
public nilus.GranularityEnumType[] getAllowedGranularities()Description copied from class:TethysDataProviderGet a list of allowed granularity types for this output- Overrides:
getAllowedGranularitiesin classAutoTethysProvider- Returns:
- list of granularities.
-