public interface ExternalTaskQueryTopicBuilder extends ExternalTaskQueryBuilder
Modifier and Type | Method and Description |
---|---|
ExternalTaskQueryTopicBuilder |
businessKey(String businessKey)
Define business key value to filter external tasks by (Process Instance) Business Key.
|
ExternalTaskQueryTopicBuilder |
enableCustomObjectDeserialization()
Enable deserialization of variable values that are custom objects.
|
ExternalTaskQueryTopicBuilder |
localVariables()
Define whether only local variables will be fetched with all tasks for the current topic.
|
ExternalTaskQueryTopicBuilder |
processDefinitionId(String processDefinitionId)
Define process definition id to filter external tasks by.
|
ExternalTaskQueryTopicBuilder |
processDefinitionIdIn(String... processDefinitionIds)
Define process definition ids to filter external tasksb by.
|
ExternalTaskQueryTopicBuilder |
processDefinitionKey(String processDefinitionKey)
Define process definition key to filter external tasks by.
|
ExternalTaskQueryTopicBuilder |
processDefinitionKeyIn(String... processDefinitionKeys)
Define process definition keys to filter external tasks by.
|
ExternalTaskQueryTopicBuilder |
processDefinitionVersionTag(String versionTag)
Define a process definition version tag to filter external tasks by.
|
ExternalTaskQueryTopicBuilder |
processInstanceVariableEquals(Map<String,Object> variables)
Define a HashMap of variables and their values to filter correlated tasks.
|
ExternalTaskQueryTopicBuilder |
processInstanceVariableEquals(String name,
Object value)
Define a single variable and its name to filter tasks in a topic.
|
ExternalTaskQueryTopicBuilder |
tenantIdIn(String... tenantIds)
Define tenant ids to filter external tasks by.
|
ExternalTaskQueryTopicBuilder |
variables(List<String> variables)
Define variables to fetch with all tasks for the current topic.
|
ExternalTaskQueryTopicBuilder |
variables(String... variables)
Define variables to fetch with all tasks for the current topic.
|
ExternalTaskQueryTopicBuilder |
withoutTenantId()
Filter external tasks only with null tenant id.
|
execute, topic
ExternalTaskQueryTopicBuilder variables(String... variables)
variables
- the variable names to fetch, if null all variables will be fetchedExternalTaskQueryTopicBuilder variables(List<String> variables)
variables
- the variable names to fetch, if null all variables will be fetchedExternalTaskQueryTopicBuilder processInstanceVariableEquals(Map<String,Object> variables)
variables
- a HashMap of the variable names (keys) and the values to filter byExternalTaskQueryTopicBuilder processInstanceVariableEquals(String name, Object value)
name
- the name of the variable you want to fetch and query byvalue
- the value of the variable which you want to filterExternalTaskQueryTopicBuilder businessKey(String businessKey)
businessKey
- the value of the Business Key to filter byExternalTaskQueryTopicBuilder processDefinitionId(String processDefinitionId)
processDefinitionId
- the definition id to filter byExternalTaskQueryTopicBuilder processDefinitionIdIn(String... processDefinitionIds)
processDefinitionIds
- the definition ids to filter byExternalTaskQueryTopicBuilder processDefinitionKey(String processDefinitionKey)
processDefinitionKey
- the definition key to filter byExternalTaskQueryTopicBuilder processDefinitionKeyIn(String... processDefinitionKeys)
processDefinitionKey
- the definition keys to filter byExternalTaskQueryTopicBuilder processDefinitionVersionTag(String versionTag)
versionTag
- the version tag to filter byExternalTaskQueryTopicBuilder withoutTenantId()
ExternalTaskQueryTopicBuilder tenantIdIn(String... tenantIds)
tenantIds
- the tenant ids to filter byExternalTaskQueryTopicBuilder enableCustomObjectDeserialization()
ExternalTaskQueryTopicBuilder localVariables()
Copyright © 2019. All rights reserved.