Interface RepositoryBackupChain
-
- All Known Subinterfaces:
BackupChain
- All Known Implementing Classes:
BackupChainImpl,RepositoryBackupChainImpl
public interface RepositoryBackupChainCreated by The eXo Platform SAS.
Date: 2010- Version:
- $Id$
- Author:
- Alex Reshetnyak
-
-
Field Summary
Fields Modifier and Type Field Description static intFINISHEDState of backup FINISHED.static intFULL_BACKUP_FINISHED_INCREMENTAL_BACKUP_WORKINGState of backup : full backup was finished and incremental backup is working.static intINITIALIZEDSate of backup INITIALIZED.static intWORKINGState of backup WORKING.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RepositoryBackupConfiggetBackupConfig()Getting repository backup config.StringgetBackupId()Getting identifier of backup.StringgetLogFilePath()Getting path to backup log.CalendargetStartedTime()Getting started time of backup.intgetState()Getting state of backup.booleanisFinished()isFinished.voidstartBackup()Call start backup.voidstopBackup()Call stop backup.
-
-
-
Field Detail
-
FULL_BACKUP_FINISHED_INCREMENTAL_BACKUP_WORKING
static final int FULL_BACKUP_FINISHED_INCREMENTAL_BACKUP_WORKING
State of backup : full backup was finished and incremental backup is working.- See Also:
- Constant Field Values
-
WORKING
static final int WORKING
State of backup WORKING.- See Also:
- Constant Field Values
-
FINISHED
static final int FINISHED
State of backup FINISHED.- See Also:
- Constant Field Values
-
INITIALIZED
static final int INITIALIZED
Sate of backup INITIALIZED.- See Also:
- Constant Field Values
-
-
Method Detail
-
startBackup
void startBackup()
Call start backup.
-
stopBackup
void stopBackup()
Call stop backup.
-
getState
int getState()
Getting state of backup.- Returns:
- int return state of backup
-
isFinished
boolean isFinished()
isFinished.- Returns:
- boolean return 'true' if backup was finished.
-
getLogFilePath
String getLogFilePath()
Getting path to backup log.- Returns:
- String return path to backup log
-
getBackupId
String getBackupId()
Getting identifier of backup.- Returns:
- String return identifier of backup
-
getStartedTime
Calendar getStartedTime()
Getting started time of backup.- Returns:
- Calendar return started time of backup
-
getBackupConfig
RepositoryBackupConfig getBackupConfig()
Getting repository backup config.- Returns:
- RepositoryBackupConfig return the repository backup config
-
-