com.sage.orion.sdata.servlet
Interface TaskCallable

All Superinterfaces:
java.util.concurrent.Callable<ResourceResponse>

public interface TaskCallable
extends java.util.concurrent.Callable<ResourceResponse>

A task that returns a result and may throw an exception.


Method Summary
 java.lang.String getAuthToken()
          Get the authorization token used to create this task
 TrackingPayload getProgress()
          Get the processing progress of this task
 SDataRequest getSDataRequest()
          Get the SDataRequest used to create this task
 
Methods inherited from interface java.util.concurrent.Callable
call
 

Method Detail

getAuthToken

java.lang.String getAuthToken()
Get the authorization token used to create this task

Returns:
the authorization token

getProgress

TrackingPayload getProgress()
Get the processing progress of this task

Returns:
the progress tracking payload.

getSDataRequest

SDataRequest getSDataRequest()
Get the SDataRequest used to create this task

Returns:
the SDataRequest


Copyright © 2011 Sage Software, Inc. All rights reserved.