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.rdbms.FullBackupJob
Created by The eXo Platform SARL Author : Alex Reshetnyak alex.reshetnyak@exoplatform.com.ua Nov
21, 2007
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.exoplatform.services.log.LogLogger.Fields 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 LOGLogger.
-
-
Constructor Details
-
FullBackupJob
public FullBackupJob()
-
-
Method Details
-
createStorage
This 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) Initialize.- 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()Call stop of job.
-