Package com.onfido
Class TaskManager
- java.lang.Object
-
- com.onfido.api.ResourceManager
-
- com.onfido.TaskManager
-
public class TaskManager extends ResourceManager
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTaskManager(Config config, okhttp3.OkHttpClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomplete(String workflowRunId, String taskId, TaskData.Request request)Taskfind(String workflowRunId, String taskId)List<TaskBase>list(String workflowRunId)-
Methods inherited from class com.onfido.api.ResourceManager
addFormDataParam, deleteRequest, downloadRequest, get, post, put, readInputStream, uploadRequest
-
-
-
-
Constructor Detail
-
TaskManager
protected TaskManager(Config config, okhttp3.OkHttpClient client)
-
-
Method Detail
-
list
public List<TaskBase> list(String workflowRunId) throws OnfidoException
- Throws:
OnfidoException
-
find
public Task find(String workflowRunId, String taskId) throws OnfidoException
- Throws:
OnfidoException
-
complete
public void complete(String workflowRunId, String taskId, TaskData.Request request) throws OnfidoException
- Throws:
OnfidoException
-
-