Package io.camunda.client.protocol.rest
Class JobResult
java.lang.Object
io.camunda.client.protocol.rest.JobResult
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class JobResult
extends Object
The result of the completed job as determined by the worker.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivateElements(List<JobResultActivateElement> activateElements) addActivateElementsItem(JobResultActivateElement activateElementsItem) corrections(JobResultCorrections corrections) deniedReason(String deniedReason) booleanIndicates which elements need to be activated in the ad-hoc subprocess.Get 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.Indicates whether the remaining instances of the ad-hoc subprocess should be canceled.Indicates whether the completion condition of the ad-hoc subprocess is fulfilled.getType()Used to distinguish between different types of job results.inthashCode()isCancelRemainingInstances(Boolean isCancelRemainingInstances) isCompletionConditionFulfilled(Boolean isCompletionConditionFulfilled) voidsetActivateElements(List<JobResultActivateElement> activateElements) voidsetCorrections(JobResultCorrections corrections) voidvoidsetDeniedReason(String deniedReason) voidsetIsCancelRemainingInstances(Boolean isCancelRemainingInstances) voidsetIsCompletionConditionFulfilled(Boolean isCompletionConditionFulfilled) voidtoString()
-
Field Details
-
JSON_PROPERTY_DENIED
- See Also:
-
JSON_PROPERTY_DENIED_REASON
- See Also:
-
JSON_PROPERTY_CORRECTIONS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_ACTIVATE_ELEMENTS
- See Also:
-
JSON_PROPERTY_IS_COMPLETION_CONDITION_FULFILLED
- See Also:
-
JSON_PROPERTY_IS_CANCEL_REMAINING_INSTANCES
- 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
-
type
-
getType
Used to distinguish between different types of job results.- Returns:
- type
-
setType
-
activateElements
-
addActivateElementsItem
-
getActivateElements
Indicates which elements need to be activated in the ad-hoc subprocess.- Returns:
- activateElements
-
setActivateElements
-
isCompletionConditionFulfilled
-
getIsCompletionConditionFulfilled
Indicates whether the completion condition of the ad-hoc subprocess is fulfilled.- Returns:
- isCompletionConditionFulfilled
-
setIsCompletionConditionFulfilled
-
isCancelRemainingInstances
-
getIsCancelRemainingInstances
Indicates whether the remaining instances of the ad-hoc subprocess should be canceled.- Returns:
- isCancelRemainingInstances
-
setIsCancelRemainingInstances
-
equals
-
hashCode
public int hashCode() -
toString
-