Package backupmanager.filter
Class BackupFilter
java.lang.Object
backupmanager.filter.BackupFilter
- All Implemented Interfaces:
BackupFunction
- Direct Known Subclasses:
AlarmBackupFilter,PassAllBackupFilter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract BackupFilterParamsGet filter params to save with the BackupAction parameters.getName()voidpassEverything(List<StreamItem> streamItems) Flag all items as passedvoidpassEverything(List<StreamItem> streamItems, String message) Flag all items as passedabstract booleanrunFilter(BackupManager backupManager, List<StreamItem> streamItems) Filter all items in the list.abstract voidsetFilterParams(BackupFilterParams backupFilterParams) Set params called from parent BackupAction when it receives its paramsvoidunPassEverything(List<StreamItem> streamItems) Flag all items as not passedvoidunPassEverything(List<StreamItem> streamItems, String message) Flag all items as passedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface backupmanager.BackupFunction
getDialogPanel
-
Field Details
-
filterName
-
-
Constructor Details
-
BackupFilter
-
-
Method Details
-
getBackupAction
-
runFilter
Filter all items in the list.- 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.
-
getName
- Specified by:
getNamein interfaceBackupFunction- Returns:
- filter name
-
setFilterParams
Set params called from parent BackupAction when it receives its params- Parameters:
backupFilterParams-
-
getFilterParams
Get filter params to save with the BackupAction parameters.- Returns:
-
passEverything
Flag all items as passed- Parameters:
streamItems-
-
passEverything
Flag all items as passed- Parameters:
streamItems- List of stream items.message- message to write into all stream items
-
unPassEverything
Flag all items as not passed- Parameters:
streamItems-
-
unPassEverything
Flag all items as passed- Parameters:
streamItems- List of stream items.message- message to write into all stream items
-