Package io.camunda.client.protocol.rest
Class JobSearchResult
java.lang.Object
io.camunda.client.protocol.rest.JobSearchResult
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.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 Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbusinessId(String businessId) creationTime(String creationTime) customHeaders(Map<String, String> customHeaders) deniedReason(String deniedReason) elementInstanceKey(String elementInstanceKey) booleanerrorMessage(String errorMessage) The business ID of the owning process instance, inherited when the job was created.When the job was created.A set of custom headers defined during modelling.If the job has been activated, when it will next be available to 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.End date of the job.The error code provided for a 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 kindWhen the job was last updated.Get listenerEventTypeThe priority of the job.The 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.The key of the root process instance.getState()Get stateThe unique identifier of the tenant.getType()The type of the job.The name of the worker of this job.hasFailedWithRetriesLeft(Boolean hasFailedWithRetriesLeft) inthashCode()kind(JobKindEnum kind) lastUpdateTime(String lastUpdateTime) listenerEventType(JobListenerEventTypeEnum listenerEventType) processDefinitionId(String processDefinitionId) processDefinitionKey(String processDefinitionKey) processInstanceKey(String processInstanceKey) putCustomHeadersItem(String key, String customHeadersItem) rootProcessInstanceKey(String rootProcessInstanceKey) voidsetBusinessId(String businessId) voidsetCreationTime(String creationTime) 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) voidsetLastUpdateTime(String lastUpdateTime) voidsetListenerEventType(JobListenerEventTypeEnum listenerEventType) voidsetPriority(Integer priority) voidsetProcessDefinitionId(String processDefinitionId) voidsetProcessDefinitionKey(String processDefinitionKey) voidsetProcessInstanceKey(String processInstanceKey) voidsetRetries(Integer retries) voidsetRootProcessInstanceKey(String rootProcessInstanceKey) voidsetState(JobStateEnum state) voidsetTenantId(String tenantId) voidvoidstate(JobStateEnum state) toString()
-
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_ROOT_PROCESS_INSTANCE_KEY
- See Also:
-
JSON_PROPERTY_BUSINESS_ID
- 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:
-
JSON_PROPERTY_CREATION_TIME
- See Also:
-
JSON_PROPERTY_LAST_UPDATE_TIME
- See Also:
-
JSON_PROPERTY_PRIORITY
- 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
If the job has been activated, when it will next be available to 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. May be missing on job failure.- Returns:
- elementId
-
setElementId
-
elementInstanceKey
-
getElementInstanceKey
The element instance key associated with the job.- Returns:
- elementInstanceKey
-
setElementInstanceKey
-
endTime
-
getEndTime
End date of the job. This is `null` if the job is not in an end state yet.- Returns:
- endTime
-
setEndTime
-
errorCode
-
getErrorCode
The error code provided for a 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
-
rootProcessInstanceKey
-
getRootProcessInstanceKey
The key of the root process instance. The root process instance is the top-level ancestor in the process instance hierarchy. This field is only present for data belonging to process instance hierarchies created in version 8.9 or later.- Returns:
- rootProcessInstanceKey
-
setRootProcessInstanceKey
-
businessId
-
getBusinessId
The business ID of the owning process instance, inherited when the job was created. This is `null` for jobs created before version 8.10 and for jobs whose owning process instance has no business ID.- Returns:
- businessId
-
setBusinessId
-
retries
-
getRetries
The amount of retries left to this job.- Returns:
- retries
-
setRetries
-
state
-
getState
Get state- Returns:
- state
-
setState
-
tenantId
-
getTenantId
The unique identifier of the tenant.- 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
-
creationTime
-
getCreationTime
When the job was created. Field is present for jobs created after 8.9.- Returns:
- creationTime
-
setCreationTime
-
lastUpdateTime
-
getLastUpdateTime
When the job was last updated. Field is present for jobs created after 8.9.- Returns:
- lastUpdateTime
-
setLastUpdateTime
-
priority
-
getPriority
The priority of the job. Higher values indicate higher priority. Jobs created before 8.10 have no stored priority; they appear last when sorting by this field and are excluded when filtering by this field. The API returns 0 for such jobs.- Returns:
- priority
-
setPriority
-
equals
-
hashCode
public int hashCode() -
toString
-