public class RepositoryBackupChainLog extends Object
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
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() |
protected static org.exoplatform.services.log.Log logger
protected static String VERSION_LOG_1_1
public static final String PREFIX
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
logDirectory - config - systemWorkspace - wsLogFilePathList - backupId - startTime - rEntry - BackupOperationExceptionpublic RepositoryBackupChainLog(File log) throws BackupOperationException
log - BackupOperationExceptionpublic String getLogFilePath()
public RepositoryBackupConfig getBackupConfig()
public Calendar getStartedTime()
public Calendar getFinishedTime()
public boolean isFinilized()
public void endLog()
public String getSystemWorkspace()
public List<String> getWorkspaceBackupsInfo()
public String getBackupId()
public RepositoryEntry getOriginalRepositoryEntry()
Copyright © 2018 eXo Platform SAS. All Rights Reserved.