Package io.camunda.client.protocol.rest
Class JobResult
java.lang.Object
io.camunda.client.protocol.rest.JobResult
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-06-04T12:01:10.435788262Z[GMT]",
comments="Generator version: 7.12.0")
public class JobResult
extends Object
The result of the completed job as determined by the worker. This functionality is currently supported only by user task listeners.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncorrections(JobResultCorrections corrections) deniedReason(String deniedReason) booleanGet correctionsIndicates whether the worker denies the work, i.e. explicitly doesn't approve it.The reason provided by the user task listener for denying the work.inthashCode()voidsetCorrections(JobResultCorrections corrections) voidvoidsetDeniedReason(String deniedReason) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_DENIED
- See Also:
-
JSON_PROPERTY_DENIED_REASON
- See Also:
-
JSON_PROPERTY_CORRECTIONS
- See Also:
-
-
Constructor Details
-
JobResult
public JobResult()
-
-
Method Details
-
denied
-
getDenied
Indicates whether the worker denies the work, i.e. explicitly doesn't approve it. For example, a user task listener can deny the completion of a task by setting this flag to true. In this example, the completion of a task is represented by a job that the worker can complete as denied. As a result, the completion request is rejected and the task remains active. Defaults to false.- Returns:
- denied
-
setDenied
-
deniedReason
-
getDeniedReason
The reason provided by the user task listener for denying the work.- Returns:
- deniedReason
-
setDeniedReason
-
corrections
-
getCorrections
Get corrections- Returns:
- corrections
-
setCorrections
-
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
-