Package io.camunda.client.protocol.rest
Class JobSearchResult
java.lang.Object
io.camunda.client.protocol.rest.JobSearchResult
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-10-08T19:37:20.302687113Z[GMT]",
comments="Generator version: 7.12.0")
public class JobSearchResult
extends Object
JobSearchResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncustomHeaders(Map<String, String> customHeaders) deniedReason(String deniedReason) elementInstanceKey(String elementInstanceKey) booleanerrorMessage(String errorMessage) A set of custom headers defined during modelling.When the job can be activated.The reason provided by the user task listener for denying the work.The element ID associated with the job.The element instance key associated with the job.When the job ended.The error code provided for the failed job.The error message that provides additional context for a failed job.Indicates whether the job has failed with retries left.Indicates whether the user task listener denies the work.The key, a unique identifier for the job.getKind()Get kindGet listenerEventTypeThe process definition ID associated with the job.The process definition key associated with the job.The process instance key associated with the job.The amount of retries left to this job.getState()Get stateThe tenant ID.getType()The type of the job.The name of the worker of this job.hasFailedWithRetriesLeft(Boolean hasFailedWithRetriesLeft) inthashCode()kind(JobKindEnum kind) listenerEventType(JobListenerEventTypeEnum listenerEventType) processDefinitionId(String processDefinitionId) processDefinitionKey(String processDefinitionKey) processInstanceKey(String processInstanceKey) putCustomHeadersItem(String key, String customHeadersItem) voidsetCustomHeaders(Map<String, String> customHeaders) voidsetDeadline(String deadline) voidsetDeniedReason(String deniedReason) voidsetElementId(String elementId) voidsetElementInstanceKey(String elementInstanceKey) voidsetEndTime(String endTime) voidsetErrorCode(String errorCode) voidsetErrorMessage(String errorMessage) voidsetHasFailedWithRetriesLeft(Boolean hasFailedWithRetriesLeft) voidsetIsDenied(Boolean isDenied) voidvoidsetKind(JobKindEnum kind) voidsetListenerEventType(JobListenerEventTypeEnum listenerEventType) voidsetProcessDefinitionId(String processDefinitionId) voidsetProcessDefinitionKey(String processDefinitionKey) voidsetProcessInstanceKey(String processInstanceKey) voidsetRetries(Integer retries) voidsetState(JobStateEnum state) voidsetTenantId(String tenantId) voidvoidstate(JobStateEnum state) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_CUSTOM_HEADERS
- See Also:
-
JSON_PROPERTY_DEADLINE
- See Also:
-
JSON_PROPERTY_DENIED_REASON
- See Also:
-
JSON_PROPERTY_ELEMENT_ID
- See Also:
-
JSON_PROPERTY_ELEMENT_INSTANCE_KEY
- See Also:
-
JSON_PROPERTY_END_TIME
- See Also:
-
JSON_PROPERTY_ERROR_CODE
- See Also:
-
JSON_PROPERTY_ERROR_MESSAGE
- See Also:
-
JSON_PROPERTY_HAS_FAILED_WITH_RETRIES_LEFT
- See Also:
-
JSON_PROPERTY_IS_DENIED
- See Also:
-
JSON_PROPERTY_JOB_KEY
- See Also:
-
JSON_PROPERTY_KIND
- See Also:
-
JSON_PROPERTY_LISTENER_EVENT_TYPE
- See Also:
-
JSON_PROPERTY_PROCESS_DEFINITION_ID
- See Also:
-
JSON_PROPERTY_PROCESS_DEFINITION_KEY
- See Also:
-
JSON_PROPERTY_PROCESS_INSTANCE_KEY
- See Also:
-
JSON_PROPERTY_RETRIES
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_TENANT_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_WORKER
- See Also:
-
-
Constructor Details
-
JobSearchResult
public JobSearchResult()
-
-
Method Details
-
customHeaders
-
putCustomHeadersItem
-
getCustomHeaders
A set of custom headers defined during modelling.- Returns:
- customHeaders
-
setCustomHeaders
-
deadline
-
getDeadline
When the job can be activated.- Returns:
- deadline
-
setDeadline
-
deniedReason
-
getDeniedReason
The reason provided by the user task listener for denying the work.- Returns:
- deniedReason
-
setDeniedReason
-
elementId
-
getElementId
The element ID associated with the job.- Returns:
- elementId
-
setElementId
-
elementInstanceKey
-
getElementInstanceKey
The element instance key associated with the job.- Returns:
- elementInstanceKey
-
setElementInstanceKey
-
endTime
-
getEndTime
When the job ended.- Returns:
- endTime
-
setEndTime
-
errorCode
-
getErrorCode
The error code provided for the failed job.- Returns:
- errorCode
-
setErrorCode
-
errorMessage
-
getErrorMessage
The error message that provides additional context for a failed job.- Returns:
- errorMessage
-
setErrorMessage
-
hasFailedWithRetriesLeft
-
getHasFailedWithRetriesLeft
Indicates whether the job has failed with retries left.- Returns:
- hasFailedWithRetriesLeft
-
setHasFailedWithRetriesLeft
-
isDenied
-
getIsDenied
Indicates whether the user task listener denies the work.- Returns:
- isDenied
-
setIsDenied
-
jobKey
-
getJobKey
The key, a unique identifier for the job.- Returns:
- jobKey
-
setJobKey
-
kind
-
getKind
Get kind- Returns:
- kind
-
setKind
-
listenerEventType
-
getListenerEventType
Get listenerEventType- Returns:
- listenerEventType
-
setListenerEventType
-
processDefinitionId
-
getProcessDefinitionId
The process definition ID associated with the job.- Returns:
- processDefinitionId
-
setProcessDefinitionId
-
processDefinitionKey
-
getProcessDefinitionKey
The process definition key associated with the job.- Returns:
- processDefinitionKey
-
setProcessDefinitionKey
-
processInstanceKey
-
getProcessInstanceKey
The process instance key associated with the job.- Returns:
- processInstanceKey
-
setProcessInstanceKey
-
retries
-
getRetries
The amount of retries left to this job.- Returns:
- retries
-
setRetries
-
state
-
getState
Get state- Returns:
- state
-
setState
-
tenantId
-
getTenantId
The tenant ID.- Returns:
- tenantId
-
setTenantId
-
type
-
getType
The type of the job.- Returns:
- type
-
setType
-
worker
-
getWorker
The name of the worker of this job.- Returns:
- worker
-
setWorker
-
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
-