Class LongTaskFactory
- java.lang.Object
-
- com.atlassian.confluence.api.impl.service.longtasks.LongTaskFactory
-
public class LongTaskFactory extends Object
Converts internal LongRunningTask model objects into API ones.
-
-
Constructor Summary
Constructors Constructor Description LongTaskFactory(NavigationService navigationService)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Constructor Detail
-
LongTaskFactory
public LongTaskFactory(NavigationService navigationService)
-
-
Method Detail
-
buildSubmission
public LongTaskSubmission buildSubmission(LongTaskId taskId)
Used to build submission objects for tasks that have no result.
-
buildSubmission
public LongTaskSubmission buildSubmission(LongTaskId id, Navigation.Builder resultBuilder)
-
buildStatus
public static LongTaskStatus buildStatus(LongTaskId id, com.atlassian.core.task.longrunning.LongRunningTask task)
-
-