public class RepositoryBackupChainImpl extends Object implements RepositoryBackupChain
FINISHED, FULL_BACKUP_FINISHED_INCREMENTAL_BACKUP_WORKING, INITIALIZED, WORKING| Constructor and Description |
|---|
RepositoryBackupChainImpl(RepositoryBackupConfig config,
File logDirectory,
RepositoryService repositoryService,
String fullBackupType,
String incrementalBackupType,
String repositoryBackupId) |
| Modifier and Type | Method and Description |
|---|---|
RepositoryBackupConfig |
getBackupConfig()
Getting repository backup config.
|
String |
getBackupId()
Getting identifier of backup.
|
String |
getLogFilePath()
Getting path to backup log.
|
Calendar |
getStartedTime()
Getting started time of backup.
|
int |
getState()
Getting state of backup.
|
boolean |
isFinished()
isFinished.
|
void |
startBackup()
Call start backup.
|
void |
stopBackup()
Call stop backup.
|
public RepositoryBackupChainImpl(RepositoryBackupConfig config, File logDirectory, RepositoryService repositoryService, String fullBackupType, String incrementalBackupType, String repositoryBackupId) throws BackupOperationException, BackupConfigurationException
public String getLogFilePath()
getLogFilePath in interface RepositoryBackupChainpublic int getState()
getState in interface RepositoryBackupChainpublic boolean isFinished()
isFinished in interface RepositoryBackupChainpublic void startBackup()
startBackup in interface RepositoryBackupChainpublic void stopBackup()
stopBackup in interface RepositoryBackupChainpublic String getBackupId()
getBackupId in interface RepositoryBackupChainpublic Calendar getStartedTime()
getStartedTime in interface RepositoryBackupChainpublic RepositoryBackupConfig getBackupConfig()
getBackupConfig in interface RepositoryBackupChainCopyright © 2017 eXo Platform SAS. All Rights Reserved.