public interface TaskContext
Modifier and Type | Method and Description |
---|---|
GatewayContext |
getGatewayContext() |
void |
reportStatusEvent(TaskStatusEvent event)
This allows the task to report a "historical" status event that will be displayed on the task status page.
|
void |
resumeTask()
This function is used to resume tasks that have yielded execution, from inside the task.
|
void |
updateCompletionPercent(double pct) |
void |
updateStatusMessage(java.lang.String message) |
void |
yieldExecution()
Call this function to mark the task for continuation at a later point.
|
void updateStatusMessage(java.lang.String message)
void updateCompletionPercent(double pct)
GatewayContext getGatewayContext()
void resumeTask()
void yieldExecution()
void reportStatusEvent(TaskStatusEvent event)