Package io.camunda.client.protocol.rest
Class JobActivationRequest
java.lang.Object
io.camunda.client.protocol.rest.JobActivationRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-25T13:39:08.081076719Z[GMT]",
comments="Generator version: 7.10.0")
public class JobActivationRequest
extends Object
JobActivationRequest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFetchVariableItem(String fetchVariableItem) addTenantIdsItem(String tenantIdsItem) booleanfetchVariable(List<String> fetchVariable) A list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returned.The maximum jobs to activate by this request.The request will be completed when at least one job is activated or after the requestTimeout (in ms).A list of IDs of tenants for which to activate jobs.A job returned after this call will not be activated by another call until the timeout (in ms) has been reached.getType()The job type, as defined in the BPMN process (e.g.The name of the worker activating the jobs, mostly used for logging purposes.inthashCode()maxJobsToActivate(Integer maxJobsToActivate) requestTimeout(Long requestTimeout) voidsetFetchVariable(List<String> fetchVariable) voidsetMaxJobsToActivate(Integer maxJobsToActivate) voidsetRequestTimeout(Long requestTimeout) voidsetTenantIds(List<String> tenantIds) voidsetTimeout(Long timeout) voidvoidtoString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_WORKER
- See Also:
-
JSON_PROPERTY_TIMEOUT
- See Also:
-
JSON_PROPERTY_MAX_JOBS_TO_ACTIVATE
- See Also:
-
JSON_PROPERTY_FETCH_VARIABLE
- See Also:
-
JSON_PROPERTY_REQUEST_TIMEOUT
- See Also:
-
JSON_PROPERTY_TENANT_IDS
- See Also:
-
-
Constructor Details
-
JobActivationRequest
public JobActivationRequest()
-
-
Method Details
-
type
-
getType
The job type, as defined in the BPMN process (e.g. <zeebe:taskDefinition type=\"payment-service\" />).- Returns:
- type
-
setType
-
worker
-
getWorker
The name of the worker activating the jobs, mostly used for logging purposes.- Returns:
- worker
-
setWorker
-
timeout
-
getTimeout
A job returned after this call will not be activated by another call until the timeout (in ms) has been reached.- Returns:
- timeout
-
setTimeout
-
maxJobsToActivate
-
getMaxJobsToActivate
The maximum jobs to activate by this request.- Returns:
- maxJobsToActivate
-
setMaxJobsToActivate
-
fetchVariable
-
addFetchVariableItem
-
getFetchVariable
A list of variables to fetch as the job variables; if empty, all visible variables at the time of activation for the scope of the job will be returned.- Returns:
- fetchVariable
-
setFetchVariable
-
requestTimeout
-
getRequestTimeout
The request will be completed when at least one job is activated or after the requestTimeout (in ms). If the requestTimeout = 0, a default timeout is used. If the requestTimeout < 0, long polling is disabled and the request is completed immediately, even when no job is activated.- Returns:
- requestTimeout
-
setRequestTimeout
-
tenantIds
-
addTenantIdsItem
-
getTenantIds
A list of IDs of tenants for which to activate jobs.- Returns:
- tenantIds
-
setTenantIds
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-