|
eXo JCR :: Component :: Extension Service 1.15.1-CP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.jcr.ext.backup.impl.BackupChainImpl
public class BackupChainImpl
Created by The eXo Platform SARL .
| Field Summary |
|---|
| Fields inherited from interface org.exoplatform.services.jcr.ext.backup.BackupChain |
|---|
FULL_WORKING, INCREMENTAL_WORKING, TIMEOUT |
| Fields inherited from interface org.exoplatform.services.jcr.ext.backup.RepositoryBackupChain |
|---|
FINISHED, FULL_BACKUP_FINISHED_INCREMENTAL_BACKUP_WORKING, INITIALIZED, WORKING |
| Constructor Summary | |
|---|---|
BackupChainImpl(BackupConfig config,
File logDirectory,
RepositoryService repositoryService,
String fullBackupType,
String incrementalBackupType,
String backupId,
File rootDir,
Calendar startTime)
|
|
| Method Summary | |
|---|---|
void |
addListener(BackupJobListener listener)
Add listener to all existing and will be created in future jobs. |
BackupConfig |
getBackupConfig()
Getting backup config. |
String |
getBackupId()
Getting identifier of backup. |
List<BackupJob> |
getBackupJobs()
Getting current backup jobs. |
int |
getFullBackupState()
Getting the state of full backup. |
int |
getIncrementalBackupState()
Getting the state of incremental 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 |
removeListener(BackupJobListener listener)
Remove listener from all existing and don't add it to a created in future jobs. |
void |
restartIncrementalBackup()
|
void |
startBackup()
Call start backup. |
void |
stopBackup()
Call stop backup. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BackupChainImpl(BackupConfig config,
File logDirectory,
RepositoryService repositoryService,
String fullBackupType,
String incrementalBackupType,
String backupId,
File rootDir,
Calendar startTime)
throws BackupOperationException,
BackupConfigurationException
BackupOperationException
BackupConfigurationException| Method Detail |
|---|
public void addListener(BackupJobListener listener)
BackupChain
addListener in interface BackupChainlistener - BackupJobListener, the backup job listenerpublic void removeListener(BackupJobListener listener)
BackupChain
removeListener in interface BackupChainlistener - BackupJobListener, the backup job listenerpublic List<BackupJob> getBackupJobs()
BackupChain
getBackupJobs in interface BackupChainpublic final void startBackup()
RepositoryBackupChain
startBackup in interface RepositoryBackupChainpublic final void stopBackup()
RepositoryBackupChain
stopBackup in interface RepositoryBackupChainpublic void restartIncrementalBackup()
public BackupConfig getBackupConfig()
BackupChain
getBackupConfig in interface BackupChaingetBackupConfig in interface RepositoryBackupChainpublic int getFullBackupState()
BackupChain
getFullBackupState in interface BackupChainpublic int getIncrementalBackupState()
BackupChain
getIncrementalBackupState in interface BackupChainpublic String getLogFilePath()
RepositoryBackupChain
getLogFilePath in interface RepositoryBackupChainpublic int getState()
RepositoryBackupChain
getState in interface RepositoryBackupChainpublic boolean isFinished()
RepositoryBackupChain
isFinished in interface RepositoryBackupChainpublic String getBackupId()
RepositoryBackupChain
getBackupId in interface RepositoryBackupChainpublic Calendar getStartedTime()
RepositoryBackupChain
getStartedTime in interface RepositoryBackupChain
|
eXo JCR :: Component :: Extension Service 1.15.1-CP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||