Class RepositoryBackupChainLog
java.lang.Object
org.exoplatform.services.jcr.ext.backup.RepositoryBackupChainLog
Created by The eXo Platform SAS.
Date: 2010
Date: 2010
- Version:
- $Id$
- Author:
- Alex Reshetnyak
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRepositoryBackupChainLog(File logDirectory, RepositoryBackupConfig config, String fullBackupType, String incrementalBackupType, String systemWorkspace, List<String> wsLogFilePathList, String backupId, Calendar startTime, org.exoplatform.services.jcr.config.RepositoryEntry rEntry, org.exoplatform.services.jcr.config.RepositoryServiceConfiguration repositoryServiceConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionvoidendLog()Finalize log.Getting repository backup configuration.Getting the backup id.Getting the finished time.Getting log file path.org.exoplatform.services.jcr.config.RepositoryEntryGetting original repository configurationGetting the started time.Getting the system workspace name.Getting the workspace backups info.boolean
-
Field Details
-
logger
protected static org.exoplatform.services.log.Log logger -
VERSION_LOG_1_1
Start for 1.1 version log will be stored relative paths. -
PREFIX
- See Also:
-
-
Constructor Details
-
RepositoryBackupChainLog
public RepositoryBackupChainLog(File logDirectory, RepositoryBackupConfig config, String fullBackupType, String incrementalBackupType, String systemWorkspace, List<String> wsLogFilePathList, String backupId, Calendar startTime, org.exoplatform.services.jcr.config.RepositoryEntry rEntry, org.exoplatform.services.jcr.config.RepositoryServiceConfiguration repositoryServiceConfiguration) throws BackupOperationException - Parameters:
logDirectory-config-systemWorkspace-wsLogFilePathList-backupId-startTime-rEntry-- Throws:
BackupOperationException
-
RepositoryBackupChainLog
- Parameters:
log-- Throws:
BackupOperationException
-
-
Method Details
-
getLogFilePath
Getting log file path.- Returns:
- String return the path to backup log
-
getBackupConfig
Getting repository backup configuration.- Returns:
- ReposiotoryBackupConfig return the repository backup configuration
-
getStartedTime
Getting the started time.- Returns:
- Calendar return the started time
-
getFinishedTime
Getting the finished time.- Returns:
- Calendar return the finished time
-
isFinilized
public boolean isFinilized() -
endLog
public void endLog()Finalize log. -
getSystemWorkspace
Getting the system workspace name.- Returns:
- String return the system workspace name.
-
getWorkspaceBackupsInfo
Getting the workspace backups info.- Returns:
- Collection return the list with path to backups.
-
getBackupId
Getting the backup id.- Returns:
- int return the backup id
-
getOriginalRepositoryEntry
public org.exoplatform.services.jcr.config.RepositoryEntry getOriginalRepositoryEntry()Getting original repository configuration- Returns:
- RepositoryEntry return the original repository configuration
-