public class LongTaskFactory extends Object
Constructor and Description |
---|
LongTaskFactory(NavigationService navigationService) |
Modifier and Type | Method and Description |
---|---|
static LongTaskStatus |
buildStatus(LongTaskId id,
com.atlassian.core.task.longrunning.LongRunningTask task) |
LongTaskSubmission |
buildSubmission(LongTaskId taskId)
Used to build submission objects for tasks that have no result.
|
LongTaskSubmission |
buildSubmission(LongTaskId id,
Navigation.Builder resultBuilder) |
public LongTaskFactory(NavigationService navigationService)
public LongTaskSubmission buildSubmission(LongTaskId taskId)
public LongTaskSubmission buildSubmission(LongTaskId id, Navigation.Builder resultBuilder)
public static LongTaskStatus buildStatus(LongTaskId id, com.atlassian.core.task.longrunning.LongRunningTask task)
Copyright © 2003–2020 Atlassian. All rights reserved.