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
-
public class FullBackupJob extends AbstractFullBackupJob
Created by The eXo Platform SARL Author : Alex Reshetnyak alex.reshetnyak@exoplatform.com.ua Nov 21, 2007
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.exoplatform.services.log.LogLOGLogger.-
Fields inherited from class org.exoplatform.services.jcr.ext.backup.impl.AbstractBackupJob
config, id, repository, state, timeStamp, url, workspaceName
-
-
Constructor Summary
Constructors Constructor Description FullBackupJob()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected URLcreateStorage()This 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
getType
-
Methods inherited from class org.exoplatform.services.jcr.ext.backup.impl.AbstractBackupJob
addListener, getId, getState, getStorageURL, notifyError, notifyListeners, removeListener
-
-
-
-
Method Detail
-
createStorage
protected URL createStorage() throws FileNotFoundException, IOException
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.
-
-