eXo JCR :: Component :: Extension Service 1.15.1-CP01

org.exoplatform.services.jcr.ext.backup
Class RepositoryBackupChainLog

java.lang.Object
  extended by org.exoplatform.services.jcr.ext.backup.RepositoryBackupChainLog

public class RepositoryBackupChainLog
extends Object

Created by The eXo Platform SAS.
Date: 2010

Version:
$Id$
Author:
Alex Reshetnyak

Field Summary
protected static org.exoplatform.services.log.Log logger
           
static String PREFIX
           
protected static String VERSION_LOG_1_1
          Start for 1.1 version log will be stored relative paths.
 
Constructor Summary
RepositoryBackupChainLog(File log)
           
RepositoryBackupChainLog(File logDirectory, RepositoryBackupConfig config, String fullBackupType, String incrementalBackupType, String systemWorkspace, List<String> wsLogFilePathList, String backupId, Calendar startTime, RepositoryEntry rEntry, RepositoryServiceConfiguration repositoryServiceConfiguration)
           
 
Method Summary
 void endLog()
          Finalize log.
 RepositoryBackupConfig getBackupConfig()
          Getting repository backup configuration.
 String getBackupId()
          Getting the backup id.
 Calendar getFinishedTime()
          Getting the finished time.
 String getLogFilePath()
          Getting log file path.
 RepositoryEntry getOriginalRepositoryEntry()
          Getting original repository configuration
 Calendar getStartedTime()
          Getting the started time.
 String getSystemWorkspace()
          Getting the system workspace name.
 List<String> getWorkspaceBackupsInfo()
          Getting the workspace backups info.
 boolean isFinilized()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static org.exoplatform.services.log.Log logger

VERSION_LOG_1_1

protected static String VERSION_LOG_1_1
Start for 1.1 version log will be stored relative paths.


PREFIX

public static final String PREFIX
See Also:
Constant Field Values
Constructor Detail

RepositoryBackupChainLog

public RepositoryBackupChainLog(File logDirectory,
                                RepositoryBackupConfig config,
                                String fullBackupType,
                                String incrementalBackupType,
                                String systemWorkspace,
                                List<String> wsLogFilePathList,
                                String backupId,
                                Calendar startTime,
                                RepositoryEntry rEntry,
                                RepositoryServiceConfiguration repositoryServiceConfiguration)
                         throws BackupOperationException
Parameters:
logDirectory -
config -
systemWorkspace -
wsLogFilePathList -
backupId -
startTime -
rEntry -
Throws:
BackupOperationException

RepositoryBackupChainLog

public RepositoryBackupChainLog(File log)
                         throws BackupOperationException
Parameters:
log -
Throws:
BackupOperationException
Method Detail

getLogFilePath

public String getLogFilePath()
Getting log file path.

Returns:
String return the path to backup log

getBackupConfig

public RepositoryBackupConfig getBackupConfig()
Getting repository backup configuration.

Returns:
ReposiotoryBackupConfig return the repository backup configuration

getStartedTime

public Calendar getStartedTime()
Getting the started time.

Returns:
Calendar return the started time

getFinishedTime

public Calendar getFinishedTime()
Getting the finished time.

Returns:
Calendar return the finished time

isFinilized

public boolean isFinilized()

endLog

public void endLog()
Finalize log.


getSystemWorkspace

public String getSystemWorkspace()
Getting the system workspace name.

Returns:
String return the system workspace name.

getWorkspaceBackupsInfo

public List<String> getWorkspaceBackupsInfo()
Getting the workspace backups info.

Returns:
Collection return the list with path to backups.

getBackupId

public String getBackupId()
Getting the backup id.

Returns:
int return the backup id

getOriginalRepositoryEntry

public RepositoryEntry getOriginalRepositoryEntry()
Getting original repository configuration

Returns:
RepositoryEntry return the original repository configuration

eXo JCR :: Component :: Extension Service 1.15.1-CP01

Copyright © 2013 eXo Platform SAS. All Rights Reserved.