public interface SystemConnector
| Modifier and Type | Method and Description |
|---|---|
SystemResponse |
cancelClaimReferencedTask(ReferencedTask task)
Instruct the external system to claim a task.
|
SystemResponse |
claimReferencedTask(ReferencedTask task)
Instruct the external system to claim a task.
|
SystemResponse |
completeReferencedTask(ReferencedTask task)
Instruct the external system to complete a task.
|
String |
getSystemUrl()
Get the URL of the external system this connector connects to.
|
List<ReferencedTask> |
retrieveFinishedReferencedTasks()
Retrieve ReferencedTasks that were finished.
|
List<ReferencedTask> |
retrieveNewStartedReferencedTasks()
Retrieve ReferencedTasks that were started within the last polling interval.
|
String |
retrieveReferencedTaskVariables(String taskId)
Get the variables of the ReferencedTask.
|
void |
taskanaTasksHaveBeenCreatedForNewReferencedTasks(List<ReferencedTask> referencedTasks)
With this call the Adapter notifies the SystemConnector that a list of TASKANA tasks has been
created.
|
void |
taskanaTasksHaveBeenTerminatedForFinishedReferencedTasks(List<ReferencedTask> referencedTasks)
With this call the Adapter notifies the SystemConnector that a list of TASKANA tasks has been
terminated.
|
List<ReferencedTask> retrieveNewStartedReferencedTasks()
void taskanaTasksHaveBeenCreatedForNewReferencedTasks(List<ReferencedTask> referencedTasks)
referencedTasks - List of ReferencedTasks for which TASKANA tasks have been created.List<ReferencedTask> retrieveFinishedReferencedTasks()
void taskanaTasksHaveBeenTerminatedForFinishedReferencedTasks(List<ReferencedTask> referencedTasks)
referencedTasks - List of ReferencedTasks for which TASKANA Tasks have been terminated.String retrieveReferencedTaskVariables(String taskId)
taskId - the Id of the ReferencedTask.SystemResponse completeReferencedTask(ReferencedTask task)
task - the task to be completed.SystemResponse claimReferencedTask(ReferencedTask task)
task - the task to be claimed.SystemResponse cancelClaimReferencedTask(ReferencedTask task)
task - the task to cancel the claim on.String getSystemUrl()
Copyright © 2020. All rights reserved.