com.atlassian.confluence.api.impl.service.longtasks
Class LongTaskFactory

java.lang.Object
  extended by com.atlassian.confluence.api.impl.service.longtasks.LongTaskFactory

public class LongTaskFactory
extends java.lang.Object

Converts internal LongRunningTask model objects into API ones.


Constructor Summary
LongTaskFactory(NavigationService navigationService)
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)


Copyright © 2003-2014 Atlassian. All Rights Reserved.