Package io.camunda.tasklist
Class CamundaTaskListClientBuilder
java.lang.Object
io.camunda.tasklist.CamundaTaskListClientBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.authentication(Authentication authentication) build()cookieExpiration(Duration cookieExpiration) Deprecated, for removal: This API element is subject to removal in a future version.saaSAuthentication(String clientId, String clientSecret) selfManagedAuthentication(String clientId, String clientSecret, String keycloakUrl) selfManagedAuthentication(String clientId, String clientSecret, String audience, String keycloakUrl) selfManagedAuthentication(String clientId, String clientSecret, String audience, String scope, String authUrl) Default behaviour will be to get variables along with tasks.taskListUrl(String taskListUrl) Enable when using zeebe user tasks (only relevant for >8.5).zeebeClient(io.camunda.zeebe.client.ZeebeClient zeebeClient)
-
Constructor Details
-
CamundaTaskListClientBuilder
public CamundaTaskListClientBuilder()
-
-
Method Details
-
authentication
-
taskListUrl
-
zeebeClient
-
shouldReturnVariables
Default behaviour will be to get variables along with tasks. Default value is false. Can also be overwritten in the getTasks methods- Returns:
- the builder
-
shouldLoadTruncatedVariables
-
alwaysReconnect
Deprecated, for removal: This API element is subject to removal in a future version. -
cookieExpiration
@Deprecated(forRemoval=true) public CamundaTaskListClientBuilder cookieExpiration(Duration cookieExpiration) Deprecated, for removal: This API element is subject to removal in a future version.Force cookie expiration after some time (default 3mn). Only usefull with SimpleAuthentication -
useZeebeUserTasks
Enable when using zeebe user tasks (only relevant for >8.5). Will require presence of a zeebe client -
build
- Throws:
TaskListException
-
selfManagedAuthentication
public CamundaTaskListClientBuilder selfManagedAuthentication(String clientId, String clientSecret, String keycloakUrl) -
selfManagedAuthentication
public CamundaTaskListClientBuilder selfManagedAuthentication(String clientId, String clientSecret, String audience, String keycloakUrl) -
selfManagedAuthentication
-
saaSAuthentication
-