Class RepositoryBackupChainLog

java.lang.Object
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 Details

    • 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:
  • Constructor Details

  • Method Details

    • 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 org.exoplatform.services.jcr.config.RepositoryEntry getOriginalRepositoryEntry()
      Getting original repository configuration
      Returns:
      RepositoryEntry return the original repository configuration