Package org.flowable.external.client
Interface ExternalWorkerClient
- All Known Implementing Classes:
RestExternalWorkerClient
public interface ExternalWorkerClient
Defines a Java API that can be used to write clients for the external worker jobs in Flowable.
It provides a basic API for acquiring, completing and failing jobs.
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescriptionCreate a builder that can be used to complete the given jobCreate a builder that can be used to fail the given jobCreate a builder that can be used to acquire jobs from a Flowable application.
-
Method Details
-
createJobAcquireBuilder
ExternalWorkerJobAcquireBuilder createJobAcquireBuilder()Create a builder that can be used to acquire jobs from a Flowable application. -
createCompletionBuilder
Create a builder that can be used to complete the given job- Parameters:
job- the job that should be completed
-
createFailureBuilder
Create a builder that can be used to fail the given job- Parameters:
job- the job that should be failed
-