Package io.camunda.client.protocol.rest
Class JobResultUserTask
java.lang.Object
io.camunda.client.protocol.rest.JobResult
io.camunda.client.protocol.rest.JobResultUserTask
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-10-08T19:37:20.302687113Z[GMT]",
comments="Generator version: 7.12.0")
public class JobResultUserTask
extends JobResult
JobResultUserTask
-
Nested Class Summary
Nested classes/interfaces inherited from class io.camunda.client.protocol.rest.JobResult
JobResult.TypeEnum -
Field Summary
FieldsFields inherited from class io.camunda.client.protocol.rest.JobResult
JSON_PROPERTY_TYPE, type -
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.type(JobResult.TypeEnum type)
-
Field Details
-
JSON_PROPERTY_DENIED
- See Also:
-
JSON_PROPERTY_DENIED_REASON
- See Also:
-
JSON_PROPERTY_CORRECTIONS
- See Also:
-
-
Constructor Details
-
JobResultUserTask
public JobResultUserTask()
-
-
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
-
type
-
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Overrides:
toUrlQueryStringin classJobResult- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Overrides:
toUrlQueryStringin classJobResult- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-