Class AlarmBackupFilter

java.lang.Object
backupmanager.filter.BackupFilter
backupmanager.filter.alarm.AlarmBackupFilter
All Implemented Interfaces:
BackupFunction

public class AlarmBackupFilter extends BackupFilter
  • Constructor Details

    • AlarmBackupFilter

      public AlarmBackupFilter(BackupAction backupAction, String filterName)
  • Method Details

    • getAlarmFilterParams

      public AlarmFilterParams getAlarmFilterParams()
    • runFilter

      public boolean runFilter(BackupManager backupManager, List<StreamItem> streamItems)
      Description copied from class: BackupFilter
      Filter all items in the list.
      Specified by:
      runFilter in class BackupFilter
      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

      public PamDialogPanel getDialogPanel(Window window)
      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

      public void setFilterParams(BackupFilterParams backupFilterParams)
      Description copied from class: BackupFilter
      Set params called from parent BackupAction when it receives its params
      Specified by:
      setFilterParams in class BackupFilter
    • getFilterParams

      public BackupFilterParams getFilterParams()
      Description copied from class: BackupFilter
      Get filter params to save with the BackupAction parameters.
      Specified by:
      getFilterParams in class BackupFilter
      Returns: