com.atlassian.jira.web.action.setup
Class DataImportAsyncCommand
java.lang.Object
com.atlassian.jira.web.action.setup.DataImportAsyncCommand
- All Implemented Interfaces:
- ProvidesTaskProgress, Callable<DataImportService.ImportResult>
public class DataImportAsyncCommand
- extends Object
- implements Callable<DataImportService.ImportResult>, ProvidesTaskProgress
A helper class to run a data import asynchronously via the ImportTaskManager
.
- Since:
- v4.4
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataImportAsyncCommand
public DataImportAsyncCommand(com.atlassian.johnson.JohnsonEventContainer eventCont,
DataImportService dataImportService,
com.atlassian.crowd.embedded.api.User loggedInUser,
DataImportService.ImportValidationResult validationResult,
com.atlassian.johnson.event.Event johnsonEvent,
VelocityRequestContext velocityRequestContext,
javax.servlet.http.HttpSession session)
call
public DataImportService.ImportResult call()
throws Exception
- Specified by:
call
in interface Callable<DataImportService.ImportResult>
- Throws:
Exception
setTaskProgressSink
public void setTaskProgressSink(TaskProgressSink taskProgressSink)
- Description copied from interface:
ProvidesTaskProgress
- This is called to set in a TaskProgressSink that can be used to send task progress information to
- Specified by:
setTaskProgressSink
in interface ProvidesTaskProgress
- Parameters:
taskProgressSink
- a TaskProgressSink that can be used to send task progress information to
Copyright © 2002-2014 Atlassian. All Rights Reserved.