Class DetailedInfo
- java.lang.Object
-
- org.exoplatform.services.jcr.ext.backup.server.bean.response.ShortInfo
-
- org.exoplatform.services.jcr.ext.backup.server.bean.response.DetailedInfo
-
- Direct Known Subclasses:
DetailedInfoEx
public class DetailedInfo extends ShortInfo
Created by The eXo Platform SAS.
Date: 13.04.2009- Version:
- $Id: DetailedInfo.java 111 2008-11-11 11:11:11Z rainf0x $
- Author:
- Alex Reshetnyak
-
-
Constructor Summary
Constructors Constructor Description DetailedInfo()DetailedInfo constructor.DetailedInfo(int type, BackupChain chain)DetailedInfo constructor.DetailedInfo(int type, BackupChainLog chainLog)DetailedInfo constructor.DetailedInfo(int type, BackupChainLog chainLog, Calendar startedTime, Calendar finishedTime, int state)DetailedInfo constructor.DetailedInfo(int type, BackupChainLog chainLog, Calendar startedTime, Calendar finishedTime, int state, String repositroryName, String workspaceName)DetailedInfo constructor.DetailedInfo(int type, RepositoryBackupChain chain)DetailedInfo constructor.DetailedInfo(int type, RepositoryBackupChainLog chainLog)DetailedInfo constructor.DetailedInfo(int type, RepositoryBackupChainLog chainLog, Calendar startedTime, Calendar finishedTime, int state, String repositroryName)DetailedInfo constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupConfigBeangetBackupConfig()getBackupConfig.voidsetBackupConfig(BackupConfigBean backupConfig)setBackupConfig.-
Methods inherited from class org.exoplatform.services.jcr.ext.backup.server.bean.response.ShortInfo
getBackupId, getBackupType, getFinishedTime, getRepositoryName, getStartedTime, getState, getType, getWorkspaceName, setBackupId, setBackupType, setFinishedTime, setRepositoryName, setStartedTime, setState, setType, setWorkspaceName
-
-
-
-
Constructor Detail
-
DetailedInfo
public DetailedInfo()
DetailedInfo constructor.
-
DetailedInfo
public DetailedInfo(int type, BackupChain chain)DetailedInfo constructor.- Parameters:
type- int, the type of detailed info (current or completed)chain- backupChain
-
DetailedInfo
public DetailedInfo(int type, RepositoryBackupChain chain)DetailedInfo constructor.- Parameters:
type- int, the type of detailed info (current or completed)chain- backupChain
-
DetailedInfo
public DetailedInfo(int type, BackupChainLog chainLog)DetailedInfo constructor.- Parameters:
type- int, the type of detailed info (current or completed)chainLog- BackupChainLog
-
DetailedInfo
public DetailedInfo(int type, RepositoryBackupChainLog chainLog)DetailedInfo constructor.- Parameters:
type- int, the type of detailed info (current or completed)chainLog- RepositoryBackupChainLog
-
DetailedInfo
public DetailedInfo(int type, BackupChainLog chainLog, Calendar startedTime, Calendar finishedTime, int state)DetailedInfo constructor. For current restore.- Parameters:
type- int, the type of DetailedInfochainLog- BackupChainLog, chain log for restorestartedTime- Calendar, the started time of restorefinishedTime- Calendar, the finished time of restorestate- int, the state of restore
-
DetailedInfo
public DetailedInfo(int type, BackupChainLog chainLog, Calendar startedTime, Calendar finishedTime, int state, String repositroryName, String workspaceName)DetailedInfo constructor. For restore.- Parameters:
type- int, the type of DetailedInfochainLog- BackupChainLog, chain log for restorestartedTime- Calendar, the started time of restorefinishedTime- Calendar, the finished time of restorestate- int, the state of restorerepositroryName- String, the repository nameworkspaceName- String, the workspace name
-
DetailedInfo
public DetailedInfo(int type, RepositoryBackupChainLog chainLog, Calendar startedTime, Calendar finishedTime, int state, String repositroryName)DetailedInfo constructor. For restore.- Parameters:
type- int, the type of DetailedInfochainLog- RepositoryBackupChainLog, chain log for restorestartedTime- Calendar, the started time of restorefinishedTime- Calendar, the finished time of restorestate- int, the state of restorerepositroryName- String, the repository name
-
-
Method Detail
-
getBackupConfig
public BackupConfigBean getBackupConfig()
getBackupConfig.- Returns:
- BackupConfigBean return the bean to backup config
-
setBackupConfig
public void setBackupConfig(BackupConfigBean backupConfig)
setBackupConfig.- Parameters:
backupConfig- BackupConfigBean, the backup config bean
-
-