Package backupmanager.filter.alarm
Class AlarmBackupFilter
java.lang.Object
backupmanager.filter.BackupFilter
backupmanager.filter.alarm.AlarmBackupFilter
- All Implemented Interfaces:
BackupFunction
-
Field Summary
Fields inherited from class backupmanager.filter.BackupFilter
filterName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDialogPanel
(Window window) A dialog panelGet filter params to save with the BackupAction parameters.boolean
runFilter
(BackupManager backupManager, List<StreamItem> streamItems) Filter all items in the list.void
setFilterParams
(BackupFilterParams backupFilterParams) Set params called from parent BackupAction when it receives its paramsMethods inherited from class backupmanager.filter.BackupFilter
getBackupAction, getName, passEverything, passEverything, unPassEverything, unPassEverything
-
Constructor Details
-
AlarmBackupFilter
-
-
Method Details
-
getAlarmFilterParams
-
runFilter
Description copied from class:BackupFilter
Filter all items in the list.- Specified by:
runFilter
in classBackupFilter
- Parameters:
streamItems
- list of stream items, will have been sorted.- Returns:
- true if preparation went OK, e.g false if a database query failed, but true if it returned no records.
-
getDialogPanel
Description copied from interface:BackupFunction
A dialog panel- Parameters:
window
- owner should be the dialog, not the main PAMGuard frame- Returns:
- dialog panel (can be null if no options to set).
-
setFilterParams
Description copied from class:BackupFilter
Set params called from parent BackupAction when it receives its params- Specified by:
setFilterParams
in classBackupFilter
-
getFilterParams
Description copied from class:BackupFilter
Get filter params to save with the BackupAction parameters.- Specified by:
getFilterParams
in classBackupFilter
- Returns:
-