Class LongTaskFactory
java.lang.Object
com.atlassian.confluence.api.impl.service.longtasks.LongTaskFactory
Converts internal LongRunningTask model objects into API ones.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LongTaskStatus
buildStatus
(LongTaskId id, com.atlassian.core.task.longrunning.LongRunningTask task) buildSubmission
(LongTaskId taskId) Used to build submission objects for tasks that have no result.buildSubmission
(LongTaskId id, Navigation.Builder resultBuilder)
-
Constructor Details
-
Method Details
-
buildSubmission
Used to build submission objects for tasks that have no result. -
buildStatus
public static LongTaskStatus buildStatus(LongTaskId id, com.atlassian.core.task.longrunning.LongRunningTask task)
-