com.atlassian.confluence.util.longrunning
Class AttachmentMigrationLongRunningTask

java.lang.Object
  extended by com.atlassian.core.task.longrunning.AbstractLongRunningTask
      extended by com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask
          extended by com.atlassian.confluence.util.longrunning.AttachmentMigrationLongRunningTask
All Implemented Interfaces:
com.atlassian.core.task.longrunning.LongRunningTask, java.lang.Runnable

public class AttachmentMigrationLongRunningTask
extends ConfluenceAbstractLongRunningTask


Field Summary
protected  AttachmentDao.AttachmentMigrator migrator
           
 
Fields inherited from class com.atlassian.core.task.longrunning.AbstractLongRunningTask
log, progress
 
Constructor Summary
AttachmentMigrationLongRunningTask(java.lang.String destinationStore, java.lang.String webdavUrl, java.lang.String webdavLogin, java.lang.String webdavPassword)
           
 
Method Summary
 java.lang.String getName()
           
 void runInternal()
          Run the long runnning process.
 void setJohnsonEventContainer(com.atlassian.johnson.JohnsonEventContainer johnsonEventContainer)
           
 
Methods inherited from class com.atlassian.confluence.util.longrunning.ConfluenceAbstractLongRunningTask
getResourceBundle, run
 
Methods inherited from class com.atlassian.core.task.longrunning.AbstractLongRunningTask
getCurrentStatus, getElapsedTime, getEstimatedTimeRemaining, getNameKey, getPercentageComplete, getPrettyElapsedTime, getPrettyTimeRemaining, isComplete, isSuccessful, stopTimer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

migrator

protected AttachmentDao.AttachmentMigrator migrator
Constructor Detail

AttachmentMigrationLongRunningTask

public AttachmentMigrationLongRunningTask(java.lang.String destinationStore,
                                          java.lang.String webdavUrl,
                                          java.lang.String webdavLogin,
                                          java.lang.String webdavPassword)
Method Detail

runInternal

public void runInternal()
Description copied from class: ConfluenceAbstractLongRunningTask
Run the long runnning process. When this method exits, the process should be complete.

Specified by:
runInternal in class ConfluenceAbstractLongRunningTask

getName

public java.lang.String getName()

setJohnsonEventContainer

public void setJohnsonEventContainer(com.atlassian.johnson.JohnsonEventContainer johnsonEventContainer)


Copyright © 2003-2011 Atlassian. All Rights Reserved.