Uses of Interface
org.camunda.bpm.client.task.ExternalTask
Package
Description
-
Uses of ExternalTask in org.camunda.bpm.client.backoff
Modifier and TypeMethodDescriptionvoid
BackoffStrategy.reconfigure
(List<ExternalTask> externalTasks) Reconfigures the back off strategy based on the fetched external tasks and is invoked beforeBackoffStrategy.calculateBackoffTime()
.default void
ErrorAwareBackoffStrategy.reconfigure
(List<ExternalTask> externalTasks) This is to provide compatibility with existing BackoffStrategy configurations.void
ErrorAwareBackoffStrategy.reconfigure
(List<ExternalTask> externalTasks, ExternalTaskClientException exception) Reconfigures the back off strategy based on the fetched external tasks and any error that might have occurred.void
ExponentialBackoffStrategy.reconfigure
(List<ExternalTask> externalTasks) void
ExponentialErrorBackoffStrategy.reconfigure
(List<ExternalTask> externalTasks, ExternalTaskClientException error) -
Uses of ExternalTask in org.camunda.bpm.client.impl
-
Uses of ExternalTask in org.camunda.bpm.client.task
Modifier and TypeMethodDescriptionvoid
ExternalTaskService.complete
(ExternalTask externalTask) Completes a task.void
ExternalTaskService.complete
(ExternalTask externalTask, Map<String, Object> variables) Completes a task.void
ExternalTaskService.complete
(ExternalTask externalTask, Map<String, Object> variables, Map<String, Object> localVariables) Completes a task.void
ExternalTaskHandler.execute
(ExternalTask externalTask, ExternalTaskService externalTaskService) Has been executed for each fetched and locked taskvoid
ExternalTaskService.extendLock
(ExternalTask externalTask, long newDuration) Extends the timeout of the lock by a given amount of time.void
ExternalTaskService.handleBpmnError
(ExternalTask externalTask, String errorCode) Reports a business error in the context of a running task.void
ExternalTaskService.handleBpmnError
(ExternalTask externalTask, String errorCode, String errorMessage) Reports a business error in the context of a running task.void
ExternalTaskService.handleBpmnError
(ExternalTask externalTask, String errorCode, String errorMessage, Map<String, Object> variables) Reports a business error in the context of a running task.void
ExternalTaskService.handleFailure
(ExternalTask externalTask, String errorMessage, String errorDetails, int retries, long retryTimeout) Reports a failure to execute a task.void
ExternalTaskService.lock
(ExternalTask externalTask, long lockDuration) Locks a task by a given amount of time.void
ExternalTaskService.setVariables
(ExternalTask externalTask, Map<String, Object> variables) Set variablesvoid
ExternalTaskService.unlock
(ExternalTask externalTask) Unlocks a task and clears the tasks lock expiration time and worker id. -
Uses of ExternalTask in org.camunda.bpm.client.task.impl
Modifier and TypeMethodDescriptionvoid
ExternalTaskServiceImpl.complete
(ExternalTask externalTask) void
ExternalTaskServiceImpl.complete
(ExternalTask externalTask, Map<String, Object> variables) void
ExternalTaskServiceImpl.complete
(ExternalTask externalTask, Map<String, Object> variables, Map<String, Object> localVariables) void
ExternalTaskServiceImpl.extendLock
(ExternalTask externalTask, long newDuration) void
ExternalTaskServiceImpl.handleBpmnError
(ExternalTask externalTask, String errorCode) void
ExternalTaskServiceImpl.handleBpmnError
(ExternalTask externalTask, String errorCode, String errorMessage) void
ExternalTaskServiceImpl.handleBpmnError
(ExternalTask externalTask, String errorCode, String errorMessage, Map<String, Object> variables) void
ExternalTaskServiceImpl.handleFailure
(ExternalTask externalTask, String errorMessage, String errorDetails, int retries, long retryTimeout) void
ExternalTaskServiceImpl.lock
(ExternalTask externalTask, long lockDuration) void
ExternalTaskServiceImpl.setVariables
(ExternalTask externalTask, Map<String, Object> variables) void
ExternalTaskServiceImpl.unlock
(ExternalTask externalTask) -
Uses of ExternalTask in org.camunda.bpm.client.topic.impl
Modifier and TypeMethodDescriptionprotected void
TopicSubscriptionManager.handleExternalTask
(ExternalTask externalTask, ExternalTaskHandler taskHandler) -
Uses of ExternalTask in org.camunda.bpm.client.topic.impl.dto
Modifier and TypeFieldDescriptionprotected List<ExternalTask>
FetchAndLockResponseDto.externalTasks
-
Uses of ExternalTask in org.camunda.bpm.client.variable.impl
Modifier and TypeMethodDescriptionTypedValues.wrapVariables
(ExternalTask externalTask, Map<String, TypedValueField> variables)