com.atlassian.confluence.importexport.actions
Class ExportSpaceLongRunningTask

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

public class ExportSpaceLongRunningTask
extends ConfluenceAbstractLongRunningTask


Field Summary
 
Fields inherited from class com.atlassian.core.task.longrunning.AbstractLongRunningTask
progress
 
Constructor Summary
ExportSpaceLongRunningTask(ConfluenceUser remoteUser, java.lang.String contextPath, ExportContext exportContext, java.util.Set<java.lang.Long> contentToBeExported, java.util.Set<java.lang.Long> contentToBeExcluded, GateKeeper gateKeeper, ImportExportManager importExportManager, PermissionManager permissionManager, SpaceManager spaceManager, java.lang.String spaceKey, java.lang.String type, java.lang.String contentOption)
           
ExportSpaceLongRunningTask(com.atlassian.user.User remoteUser, java.lang.String contextPath, ExportContext exportContext, java.util.List<java.lang.String> contentToBeExported, GateKeeper gateKeeper, ImportExportManager importExportManager, PermissionManager permissionManager, SpaceManager spaceManager, java.lang.String spaceKey, java.lang.String type, java.lang.String contentOption)
          Deprecated. since 4.2 use the other constructor.
ExportSpaceLongRunningTask(com.atlassian.user.User remoteUser, java.lang.String contextPath, ExportContext exportContext, java.util.Set<java.lang.Long> contentToBeExported, java.util.Set<java.lang.Long> contentToBeExcluded, GateKeeper gateKeeper, ImportExportManager importExportManager, PermissionManager permissionManager, SpaceManager spaceManager, java.lang.String spaceKey, java.lang.String type, java.lang.String contentOption)
          Deprecated. since 5.2 use the other constructor.
 
Method Summary
 java.lang.String getDownloadPath()
           
 java.lang.String getName()
           
 java.lang.String getNameKey()
           
protected  void runInternal()
          Run the long running process.
 
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, getPercentageComplete, getPrettyElapsedTime, getPrettyTimeRemaining, isComplete, isSuccessful, stopTimer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportSpaceLongRunningTask

public ExportSpaceLongRunningTask(com.atlassian.user.User remoteUser,
                                  java.lang.String contextPath,
                                  ExportContext exportContext,
                                  java.util.List<java.lang.String> contentToBeExported,
                                  GateKeeper gateKeeper,
                                  ImportExportManager importExportManager,
                                  PermissionManager permissionManager,
                                  SpaceManager spaceManager,
                                  java.lang.String spaceKey,
                                  java.lang.String type,
                                  java.lang.String contentOption)
Deprecated. since 4.2 use the other constructor.


ExportSpaceLongRunningTask

@Deprecated
public ExportSpaceLongRunningTask(com.atlassian.user.User remoteUser,
                                             java.lang.String contextPath,
                                             ExportContext exportContext,
                                             java.util.Set<java.lang.Long> contentToBeExported,
                                             java.util.Set<java.lang.Long> contentToBeExcluded,
                                             GateKeeper gateKeeper,
                                             ImportExportManager importExportManager,
                                             PermissionManager permissionManager,
                                             SpaceManager spaceManager,
                                             java.lang.String spaceKey,
                                             java.lang.String type,
                                             java.lang.String contentOption)
Deprecated. since 5.2 use the other constructor.


ExportSpaceLongRunningTask

public ExportSpaceLongRunningTask(ConfluenceUser remoteUser,
                                  java.lang.String contextPath,
                                  ExportContext exportContext,
                                  java.util.Set<java.lang.Long> contentToBeExported,
                                  java.util.Set<java.lang.Long> contentToBeExcluded,
                                  GateKeeper gateKeeper,
                                  ImportExportManager importExportManager,
                                  PermissionManager permissionManager,
                                  SpaceManager spaceManager,
                                  java.lang.String spaceKey,
                                  java.lang.String type,
                                  java.lang.String contentOption)
Since:
5.2
Method Detail

runInternal

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

Specified by:
runInternal in class ConfluenceAbstractLongRunningTask

getDownloadPath

public java.lang.String getDownloadPath()

getName

public java.lang.String getName()

getNameKey

public java.lang.String getNameKey()
Specified by:
getNameKey in interface com.atlassian.core.task.longrunning.LongRunningTask
Overrides:
getNameKey in class com.atlassian.core.task.longrunning.AbstractLongRunningTask


Copyright © 2003-2014 Atlassian. All Rights Reserved.