Package org.camunda.bpm.client
Interface ExternalTaskClient
-
- All Known Implementing Classes:
ExternalTaskClientImpl
public interface ExternalTaskClient
Camunda external task client
- Author:
- Tassilo Weidner
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static 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 tasksTopicSubscriptionBuilder
subscribe(java.lang.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(java.lang.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:
-
true
if the client is actively fetching for tasks -
false
if the client is not actively fetching for tasks
-
-
-