public class DataImportAsyncCommand extends Object implements Callable<DataImportService.ImportResult>, ProvidesTaskProgress
ImportTaskManager
.Constructor and Description |
---|
DataImportAsyncCommand(com.atlassian.johnson.JohnsonEventContainer eventCont,
DataImportService dataImportService,
ApplicationUser loggedInUser,
DataImportService.ImportValidationResult validationResult,
com.atlassian.johnson.event.Event johnsonEvent,
VelocityRequestContext velocityRequestContext,
javax.servlet.http.HttpSession session,
I18nHelper i18nHelper) |
Modifier and Type | Method and Description |
---|---|
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
|
public DataImportAsyncCommand(com.atlassian.johnson.JohnsonEventContainer eventCont, DataImportService dataImportService, ApplicationUser loggedInUser, DataImportService.ImportValidationResult validationResult, com.atlassian.johnson.event.Event johnsonEvent, VelocityRequestContext velocityRequestContext, javax.servlet.http.HttpSession session, I18nHelper i18nHelper)
public DataImportService.ImportResult call() throws Exception
call
in interface Callable<DataImportService.ImportResult>
Exception
public void setTaskProgressSink(TaskProgressSink taskProgressSink)
ProvidesTaskProgress
setTaskProgressSink
in interface ProvidesTaskProgress
taskProgressSink
- a TaskProgressSink that can be used to send task progress information toCopyright © 2002-2022 Atlassian. All Rights Reserved.