@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-09-14T10:49:44.272+02:00[Europe/Berlin]") public class FetchExternalTasksDto extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_ASYNC_RESPONSE_TIMEOUT |
static String |
SERIALIZED_NAME_MAX_TASKS |
static String |
SERIALIZED_NAME_TOPICS |
static String |
SERIALIZED_NAME_USE_PRIORITY |
static String |
SERIALIZED_NAME_WORKER_ID |
Constructor and Description |
---|
FetchExternalTasksDto() |
Modifier and Type | Method and Description |
---|---|
FetchExternalTasksDto |
addTopicsItem(FetchExternalTaskTopicDto topicsItem) |
FetchExternalTasksDto |
asyncResponseTimeout(Long asyncResponseTimeout) |
boolean |
equals(Object o) |
Long |
getAsyncResponseTimeout()
The [Long Polling](https://docs.camunda.org/manual/7.13/user-guide/process-engine/external-tasks/#long-polling-to-fetch-and-lock-external-tasks) timeout in milliseconds.
|
Integer |
getMaxTasks()
**Mandatory.** The maximum number of tasks to return.
|
List<FetchExternalTaskTopicDto> |
getTopics()
A JSON array of topic objects for which external tasks should be fetched.
|
Boolean |
getUsePriority()
A `boolean` value, which indicates whether the task should be fetched based on its priority or arbitrarily.
|
String |
getWorkerId()
**Mandatory.** The id of the worker on which behalf tasks are fetched.
|
int |
hashCode() |
FetchExternalTasksDto |
maxTasks(Integer maxTasks) |
void |
setAsyncResponseTimeout(Long asyncResponseTimeout) |
void |
setMaxTasks(Integer maxTasks) |
void |
setTopics(List<FetchExternalTaskTopicDto> topics) |
void |
setUsePriority(Boolean usePriority) |
void |
setWorkerId(String workerId) |
FetchExternalTasksDto |
topics(List<FetchExternalTaskTopicDto> topics) |
String |
toString() |
FetchExternalTasksDto |
usePriority(Boolean usePriority) |
FetchExternalTasksDto |
workerId(String workerId) |
public static final String SERIALIZED_NAME_WORKER_ID
public static final String SERIALIZED_NAME_MAX_TASKS
public static final String SERIALIZED_NAME_USE_PRIORITY
public static final String SERIALIZED_NAME_ASYNC_RESPONSE_TIMEOUT
public static final String SERIALIZED_NAME_TOPICS
public FetchExternalTasksDto workerId(String workerId)
public String getWorkerId()
public void setWorkerId(String workerId)
public FetchExternalTasksDto maxTasks(Integer maxTasks)
@Nullable public Integer getMaxTasks()
public void setMaxTasks(Integer maxTasks)
public FetchExternalTasksDto usePriority(Boolean usePriority)
@Nullable public Boolean getUsePriority()
public void setUsePriority(Boolean usePriority)
public FetchExternalTasksDto asyncResponseTimeout(Long asyncResponseTimeout)
@Nullable public Long getAsyncResponseTimeout()
public void setAsyncResponseTimeout(Long asyncResponseTimeout)
public FetchExternalTasksDto topics(List<FetchExternalTaskTopicDto> topics)
public FetchExternalTasksDto addTopicsItem(FetchExternalTaskTopicDto topicsItem)
@Nullable public List<FetchExternalTaskTopicDto> getTopics()
public void setTopics(List<FetchExternalTaskTopicDto> topics)
Copyright © 2021. All rights reserved.