Package io.camunda.client.protocol.rest
Class JobResultUserTask
java.lang.Object
io.camunda.client.protocol.rest.JobResultUserTask
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class JobResultUserTask
extends Object
Job result details for a user task completion, optionally including a denial reason and corrected task properties.
-
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.getType()Used to distinguish between different types of job results.inthashCode()voidsetCorrections(JobResultCorrections corrections) voidvoidsetDeniedReason(String deniedReason) voidtoString()
-
Field Details
-
JSON_PROPERTY_DENIED
- See Also:
-
JSON_PROPERTY_DENIED_REASON
- See Also:
-
JSON_PROPERTY_CORRECTIONS
- See Also:
-
JSON_PROPERTY_TYPE
- 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
-
getType
Used to distinguish between different types of job results.- Returns:
- type
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-