org.exoplatform.services.jcr.ext.backup.impl
Class BackupChainImpl
java.lang.Object
org.exoplatform.services.jcr.ext.backup.impl.BackupChainImpl
- All Implemented Interfaces:
- BackupChain
public class BackupChainImpl
- extends java.lang.Object
- implements BackupChain
Created by The eXo Platform SARL .
- Version:
- $Id: BackupChainImpl.java 35186 2009-08-07 14:23:43Z pnedonosko $
- Author:
- Gennady Azarenkov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BackupChainImpl
public BackupChainImpl(BackupConfig config,
java.io.File logDirectory,
ManageableRepository repository,
java.lang.String fullBackupType,
java.lang.String incrementalBackupType)
throws BackupOperationException,
BackupConfigurationException
- Throws:
BackupOperationException
BackupConfigurationException
addListener
public void addListener(BackupJobListener listener)
- Description copied from interface:
BackupChain
- Add listener to all existing and will be created in future jobs
- Specified by:
addListener in interface BackupChain
removeListener
public void removeListener(BackupJobListener listener)
- Description copied from interface:
BackupChain
- Remove listener from all existing and don't add it to a created in future jobs
- Specified by:
removeListener in interface BackupChain
getBackupJobs
public java.util.List<BackupJob> getBackupJobs()
- Specified by:
getBackupJobs in interface BackupChain
startBackup
public final void startBackup()
- Specified by:
startBackup in interface BackupChain
stopBackup
public final void stopBackup()
- Specified by:
stopBackup in interface BackupChain
restartIncrementalBackup
public void restartIncrementalBackup()
getBackupConfig
public BackupConfig getBackupConfig()
- Specified by:
getBackupConfig in interface BackupChain
getFullBackupState
public int getFullBackupState()
- Specified by:
getFullBackupState in interface BackupChain
getLogFilePath
public java.lang.String getLogFilePath()
- Specified by:
getLogFilePath in interface BackupChain
getState
public int getState()
- Specified by:
getState in interface BackupChain
isFinished
public boolean isFinished()
- Specified by:
isFinished in interface BackupChain
Copyright © 2010 eXo Platform SAS. All Rights Reserved.