public class

DataImportAsyncCommand

extends Object
implements ProvidesTaskProgress Callable<V>
java.lang.Object
   ↳ com.atlassian.jira.web.action.setup.DataImportAsyncCommand

Class Overview

A helper class to run a data import asynchronously via the ImportTaskManager.

Summary

Public Constructors
DataImportAsyncCommand(JohnsonEventContainer eventCont, DataImportService dataImportService, ApplicationUser loggedInUser, DataImportService.ImportValidationResult validationResult, Event johnsonEvent, VelocityRequestContext velocityRequestContext, HttpSession session)
Public Methods
DataImportService.ImportResult call()
void setTaskProgressSink(TaskProgressSink taskProgressSink)
This is called to set in a TaskProgressSink that can be used to send task progress information to
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.task.ProvidesTaskProgress
From interface java.util.concurrent.Callable

Public Constructors

public DataImportAsyncCommand (JohnsonEventContainer eventCont, DataImportService dataImportService, ApplicationUser loggedInUser, DataImportService.ImportValidationResult validationResult, Event johnsonEvent, VelocityRequestContext velocityRequestContext, HttpSession session)

Public Methods

public void setTaskProgressSink (TaskProgressSink taskProgressSink)

This is called to set in a TaskProgressSink that can be used to send task progress information to

Parameters
taskProgressSink a TaskProgressSink that can be used to send task progress information to