Package org.camunda.bpm.client
Interface ExternalTaskClient
- All Known Implementing Classes:
ExternalTaskClientImpl
public interface ExternalTaskClient
Camunda external task client
- Author:
- Tassilo Weidner
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExternalTaskClientBuilder
create()
Creates a fluent builder to configure the Camunda clientboolean
isActive()
void
start()
Starts continuous fetching and locking of tasksvoid
stop()
Stops continuous fetching and locking of tasksCreates a fluent builder to create and configure a topic subscription
-
Method Details
-
create
Creates a fluent builder to configure the Camunda client- Returns:
- builder to apply configurations on
-
subscribe
Creates a fluent builder to create and configure a topic subscription- Parameters:
topicName
- the client subscribes to- Returns:
- builder to apply configurations on
-
stop
void stop()Stops continuous fetching and locking of tasks -
start
void start()Starts continuous fetching and locking of tasks -
isActive
boolean isActive()- Returns:
-
true
if the client is actively fetching for tasks -
false
if the client is not actively fetching for tasks
-
-