Package binaryFileStorage.backup
Class BinaryBackupStream
java.lang.Object
backupmanager.stream.BackupStream
backupmanager.stream.FileBackupStream
binaryFileStorage.backup.BinaryBackupStream
- All Implemented Interfaces:
BackupFunction
,PamSettings
,SettingsNameProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Get the minimum delay from the time when a file was last modified or created to when it can be backed upSource location - For most things, like the sound recorder or binary files this will have to be taken from the other settings.void
setSourceLocation
(FileLocation fileLocation) As with the getter, this may be ignored by many modules which will perfectly well know their source locationMethods inherited from class backupmanager.stream.FileBackupStream
backupComplete, catalogData, getAllFiles, getAllSourceItems, getAvailableActions, getAvailableSpace, getBackupSettings, getDialogPanel, getToDoList, setBackupSettings, updateActedItem
Methods inherited from class backupmanager.stream.BackupStream
addAction, doAction, getActions, getName, getSettingsReference, getSettingsVersion, getUnitName, getUnitType, removeAction, restoreSettings, runBackup
-
Constructor Details
-
BinaryBackupStream
-
-
Method Details
-
getSourceLocation
Description copied from class:FileBackupStream
Source location - For most things, like the sound recorder or binary files this will have to be taken from the other settings. For some modules like the gemini, which are recording elsewhere, it can be anything.- Specified by:
getSourceLocation
in classFileBackupStream
- Returns:
- the source location.
-
setSourceLocation
Description copied from class:FileBackupStream
As with the getter, this may be ignored by many modules which will perfectly well know their source location- Specified by:
setSourceLocation
in classFileBackupStream
-
getMinBackupDelay
public long getMinBackupDelay()Description copied from class:FileBackupStream
Get the minimum delay from the time when a file was last modified or created to when it can be backed up- Overrides:
getMinBackupDelay
in classFileBackupStream
- Returns:
- time in milliseconds
-