com.atlassian.confluence.api.impl.service.longtasks
Class LongTaskFactory
java.lang.Object
com.atlassian.confluence.api.impl.service.longtasks.LongTaskFactory
public class LongTaskFactory
- extends java.lang.Object
Converts internal LongRunningTask model objects into API ones.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LongTaskFactory
public LongTaskFactory(NavigationService navigationService)
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)
Copyright © 2003-2014 Atlassian. All Rights Reserved.