public interface BackupChain extends RepositoryBackupChain
| Modifier and Type | Field and Description |
|---|---|
static int |
FULL_WORKING
The full backup state.
|
static int |
INCREMENTAL_WORKING
The full + incremental backup state.
|
static long |
TIMEOUT
The timeout.
|
FINISHED, FULL_BACKUP_FINISHED_INCREMENTAL_BACKUP_WORKING, INITIALIZED, WORKING| Modifier and Type | Method and Description |
|---|---|
void |
addListener(BackupJobListener listener)
Add listener to all existing and will be created in future jobs.
|
BackupConfig |
getBackupConfig()
Getting backup config.
|
List<BackupJob> |
getBackupJobs()
Getting current backup jobs.
|
int |
getFullBackupState()
Getting the state of full backup.
|
int |
getIncrementalBackupState()
Getting the state of incremental backup.
|
void |
removeListener(BackupJobListener listener)
Remove listener from all existing and don't add it to a created in future jobs.
|
getBackupId, getLogFilePath, getStartedTime, getState, isFinished, startBackup, stopBackupstatic final int FULL_WORKING
static final int INCREMENTAL_WORKING
static final long TIMEOUT
List<BackupJob> getBackupJobs()
BackupConfig getBackupConfig()
getBackupConfig in interface RepositoryBackupChainint getFullBackupState()
int getIncrementalBackupState()
void addListener(BackupJobListener listener)
listener - BackupJobListener, the backup job listenervoid removeListener(BackupJobListener listener)
listener - BackupJobListener, the backup job listenerCopyright © 2016 eXo Platform SAS. All Rights Reserved.