|
eXo JCR :: Component :: Extension Service 1.15.1-CP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.jcr.ext.backup.BackupChainLog
public class BackupChainLog
Created by The eXo Platform SARL .
| 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 | |
|---|---|
BackupChainLog(File log)
BackupChainLog constructor. |
|
BackupChainLog(File logDir,
BackupConfig config,
String fullBackupType,
String incrementalBackupType,
String backupId,
RepositoryServiceConfiguration repositoryServiceConfiguration,
File rootDir)
BackupChainLog constructor. |
|
| Method Summary | |
|---|---|
void |
addJobEntry(BackupJob job)
Adding the the backup job. |
void |
endLog()
Finalize log. |
BackupConfig |
getBackupConfig()
Getting backup config. |
String |
getBackupId()
Getting the backup id. |
String |
getConfigInfo()
Getting the config info. |
Calendar |
getFinishedTime()
Getting the finished time. |
String |
getFullBackupType()
|
String |
getIncrementalBackupType()
|
List<JobEntryInfo> |
getJobEntryInfos()
Getting the job informations. |
Collection<JobEntryInfo> |
getJobEntryStates()
Getting the states for jobs. |
String |
getLogFilePath()
Getting log file path. |
WorkspaceEntry |
getOriginalWorkspaceEntry()
Getting original workspace configuration |
Calendar |
getStartedTime()
Getting the started time. |
boolean |
isFinilized()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static String VERSION_LOG_1_1
protected static org.exoplatform.services.log.Log logger
public static final String PREFIX
| Constructor Detail |
|---|
public BackupChainLog(File logDir,
BackupConfig config,
String fullBackupType,
String incrementalBackupType,
String backupId,
RepositoryServiceConfiguration repositoryServiceConfiguration,
File rootDir)
throws BackupOperationException
logDir - File, the directory to logsconfig - BackupConfig, the backup configfullBackupType - Sting, FQN for full backupincrementalBackupType - Sting, FQN for incremental backupbackupId - String, the identifier of backupwEntry - original workspace config
BackupOperationException - will be generate the exception BackupOperationException
public BackupChainLog(File log)
throws BackupOperationException
log - File, the backup log
BackupOperationException - will be generate the BackupOperationException| Method Detail |
|---|
public void addJobEntry(BackupJob job)
job - BackupJob, the backup jobpublic String getBackupId()
public String getConfigInfo()
public List<JobEntryInfo> getJobEntryInfos()
public void endLog()
public Collection<JobEntryInfo> getJobEntryStates()
public BackupConfig getBackupConfig()
public String getLogFilePath()
public Calendar getStartedTime()
public Calendar getFinishedTime()
public WorkspaceEntry getOriginalWorkspaceEntry()
public boolean isFinilized()
public String getFullBackupType()
public String getIncrementalBackupType()
|
eXo JCR :: Component :: Extension Service 1.15.1-CP01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||