eXo JCR :: Component :: Extension Service 1.16.0-CR2

org.exoplatform.services.jcr.ext.backup.impl.fs
Class FullBackupJob

java.lang.Object
  extended by org.exoplatform.services.jcr.ext.backup.impl.AbstractBackupJob
      extended by org.exoplatform.services.jcr.ext.backup.impl.AbstractFullBackupJob
          extended by org.exoplatform.services.jcr.ext.backup.impl.fs.FullBackupJob
All Implemented Interfaces:
Runnable, BackupJob

public class FullBackupJob
extends AbstractFullBackupJob

Created by The eXo Platform SARL Author : Alex Reshetnyak alex.reshetnyak@exoplatform.com.ua Nov 21, 2007


Field Summary
protected static org.exoplatform.services.log.Log LOG
           
 
Fields inherited from class org.exoplatform.services.jcr.ext.backup.impl.AbstractBackupJob
config, id, repository, state, timeStamp, url, workspaceName
 
Fields inherited from interface org.exoplatform.services.jcr.ext.backup.BackupJob
FINISHED, FULL, INCREMENTAL, STARTING, WAITING, WORKING
 
Constructor Summary
FullBackupJob()
           
 
Method Summary
protected  URL createStorage()
          This method is called by run() and resume() Backup implementation knows how to create new storage
 void init(ManageableRepository repository, String workspaceName, BackupConfig config, Calendar timeStamp)
          Initialize.
 void run()
           
 void stop()
          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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final org.exoplatform.services.log.Log LOG
Constructor Detail

FullBackupJob

public FullBackupJob()
Method Detail

createStorage

protected URL createStorage()
                     throws FileNotFoundException,
                            IOException
Description copied from class: AbstractBackupJob
This method is called by run() and resume() Backup implementation knows how to create new storage

Specified by:
createStorage in class AbstractBackupJob
Returns:
URL of new storage
Throws:
FileNotFoundException
IOException

init

public void init(ManageableRepository repository,
                 String workspaceName,
                 BackupConfig config,
                 Calendar timeStamp)
Description copied from interface: BackupJob
Initialize.

Parameters:
repository - ManageableRepository, the manageable repository
workspaceName - String, the workspace name
config - BackupConfig, the backup config
timeStamp - Calendar, the time stamp

run

public void run()

stop

public void stop()
Description copied from interface: BackupJob
Call stop of job.


eXo JCR :: Component :: Extension Service 1.16.0-CR2

Copyright © 2014 eXo Platform SAS. All Rights Reserved.