Package org.camunda.bpm.client
Interface ExternalTaskClient
-
- All Known Implementing Classes:
ExternalTaskClientImpl
public interface ExternalTaskClientCamunda external task client
- Author:
- Tassilo Weidner
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static ExternalTaskClientBuildercreate()Creates a fluent builder to configure the Camunda clientbooleanisActive()voidstart()Starts continuous fetching and locking of tasksvoidstop()Stops continuous fetching and locking of tasksTopicSubscriptionBuildersubscribe(String topicName)Creates a fluent builder to create and configure a topic subscription
-
-
-
Method Detail
-
create
static ExternalTaskClientBuilder create()
Creates a fluent builder to configure the Camunda client- Returns:
- builder to apply configurations on
-
subscribe
TopicSubscriptionBuilder subscribe(String topicName)
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:
-
trueif the client is actively fetching for tasks -
falseif the client is not actively fetching for tasks
-
-
-