Class FullBackupJob
java.lang.Object
org.exoplatform.services.jcr.ext.backup.impl.AbstractBackupJob
org.exoplatform.services.jcr.ext.backup.impl.AbstractFullBackupJob
org.exoplatform.services.jcr.ext.backup.impl.fs.FullBackupJob
Created by The eXo Platform SARL Author : Alex Reshetnyak alex.reshetnyak@exoplatform.com.ua Nov
21, 2007
-
Field Summary
FieldsFields inherited from class org.exoplatform.services.jcr.ext.backup.impl.AbstractBackupJob
config, id, repository, state, timeStamp, url, workspaceName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected URLThis method is called by run() and resume() Backup implementation knows how to create new storagevoidinit(org.exoplatform.services.jcr.core.ManageableRepository repository, String workspaceName, BackupConfig config, Calendar timeStamp) Initialize.voidrun()voidstop()Call stop of job.Methods inherited from class org.exoplatform.services.jcr.ext.backup.impl.AbstractFullBackupJob
getTypeMethods inherited from class org.exoplatform.services.jcr.ext.backup.impl.AbstractBackupJob
addListener, getId, getState, getStorageURL, notifyError, notifyListeners, removeListener
-
Field Details
-
LOG
protected static final org.exoplatform.services.log.Log LOG
-
-
Constructor Details
-
FullBackupJob
public FullBackupJob()
-
-
Method Details
-
createStorage
Description copied from class:AbstractBackupJobThis method is called by run() and resume() Backup implementation knows how to create new storage- Specified by:
createStoragein classAbstractBackupJob- Returns:
- URL of new storage
- Throws:
FileNotFoundExceptionIOException
-
init
public void init(org.exoplatform.services.jcr.core.ManageableRepository repository, String workspaceName, BackupConfig config, Calendar timeStamp) Description copied from interface:BackupJobInitialize.- Parameters:
repository- ManageableRepository, the manageable repositoryworkspaceName- String, the workspace nameconfig- BackupConfig, the backup configtimeStamp- Calendar, the time stamp
-
run
public void run() -
stop
public void stop()Description copied from interface:BackupJobCall stop of job.
-