Package io.camunda.client.impl.command
Class CompleteAdHocSubProcessJobResultImpl
java.lang.Object
io.camunda.client.impl.command.CommandWithVariables<CompleteAdHocSubProcessResultStep1.CompleteAdHocSubProcessResultStep2>
io.camunda.client.impl.command.CompleteAdHocSubProcessJobResultImpl
- All Implemented Interfaces:
CommandWithVariables<CompleteAdHocSubProcessResultStep1>,CompleteAdHocSubProcessResultStep1,CompleteAdHocSubProcessResultStep1.CompleteAdHocSubProcessResultStep2,CompleteJobResult
public class CompleteAdHocSubProcessJobResultImpl
extends CommandWithVariables<CompleteAdHocSubProcessResultStep1.CompleteAdHocSubProcessResultStep2>
implements CompleteAdHocSubProcessResultStep1, CompleteAdHocSubProcessResultStep1.CompleteAdHocSubProcessResultStep2
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from interface io.camunda.client.api.command.CompleteAdHocSubProcessResultStep1
CompleteAdHocSubProcessResultStep1.CompleteAdHocSubProcessResultStep2 -
Field Summary
Fields inherited from class io.camunda.client.impl.command.CommandWithVariables
objectMapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivateElement(String elementId) Adds an element to activate in the ad-hoc sub-process.cancelRemainingInstances(boolean cancelRemainingInstances) Indicates whether all remaining instances of the ad-hoc sub-process should be canceled.completionConditionFulfilled(boolean completionConditionFulfilled) Indicates whether the completion condition of the ad-hoc sub-process is fulfilled.getType()Get the type of the job result.booleanbooleansetVariablesInternal(String variables) Methods inherited from class io.camunda.client.impl.command.CommandWithVariables
variable, variables, variables, variables, variables
-
Constructor Details
-
CompleteAdHocSubProcessJobResultImpl
-
-
Method Details
-
getActivateElements
-
getType
Description copied from interface:CompleteJobResultGet the type of the job result. Depending on the type, different fields will be set on the request. These fields are used to perform follow-up actions on the job upon completion. Eg: changing the assignee of a user task, or activating certain elements of an ad-hoc sub process.- Specified by:
getTypein interfaceCompleteJobResult- Returns:
- the type of the job result
-
activateElement
public CompleteAdHocSubProcessResultStep1.CompleteAdHocSubProcessResultStep2 activateElement(String elementId) Description copied from interface:CompleteAdHocSubProcessResultStep1Adds an element to activate in the ad-hoc sub-process.- Specified by:
activateElementin interfaceCompleteAdHocSubProcessResultStep1- Returns:
- this result
-
completionConditionFulfilled
public CompleteAdHocSubProcessResultStep1 completionConditionFulfilled(boolean completionConditionFulfilled) Description copied from interface:CompleteAdHocSubProcessResultStep1Indicates whether the completion condition of the ad-hoc sub-process is fulfilled.- Specified by:
completionConditionFulfilledin interfaceCompleteAdHocSubProcessResultStep1- Returns:
- this result
-
cancelRemainingInstances
public CompleteAdHocSubProcessResultStep1 cancelRemainingInstances(boolean cancelRemainingInstances) Description copied from interface:CompleteAdHocSubProcessResultStep1Indicates whether all remaining instances of the ad-hoc sub-process should be canceled.- Specified by:
cancelRemainingInstancesin interfaceCompleteAdHocSubProcessResultStep1- Returns:
- this result
-
isCompletionConditionFulfilled
public boolean isCompletionConditionFulfilled() -
isCancelRemainingInstances
public boolean isCancelRemainingInstances() -
setVariablesInternal
protected CompleteAdHocSubProcessResultStep1.CompleteAdHocSubProcessResultStep2 setVariablesInternal(String variables)
-