Package io.camunda.client.api.command
Interface ActivateAdHocSubProcessActivitiesCommandStep1
- All Known Subinterfaces:
ActivateAdHocSubProcessActivitiesCommandStep1.ActivateAdHocSubProcessActivitiesCommandStep2
- All Known Implementing Classes:
ActivateAdHocSubProcessActivitiesCommandImpl
public interface ActivateAdHocSubProcessActivitiesCommandStep1
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionactivateElement(String elementId) Create anAdHocSubProcessActivateActivitiesInstructionfor the given element id.activateElement(String elementId, Map<String, Object> variables) Create anAdHocSubProcessActivateActivitiesInstructionfor the given element id with variables.activateElements(String... elementIds) Create anAdHocSubProcessActivateActivitiesInstructionfor each of the given element ids.activateElements(Collection<String> elementIds) Create anAdHocSubProcessActivateActivitiesInstructionfor each of the given element ids.cancelRemainingInstances(boolean cancelRemainingInstances) Set whether to cancel remaining instances of the ad-hoc sub-process.
-
Method Details
-
activateElement
ActivateAdHocSubProcessActivitiesCommandStep1.ActivateAdHocSubProcessActivitiesCommandStep2 activateElement(String elementId) Create anAdHocSubProcessActivateActivitiesInstructionfor the given element id.- Parameters:
elementId- the id of the element to activate- Returns:
- the builder for this command
-
activateElement
ActivateAdHocSubProcessActivitiesCommandStep1.ActivateAdHocSubProcessActivitiesCommandStep2 activateElement(String elementId, Map<String, Object> variables) Create anAdHocSubProcessActivateActivitiesInstructionfor the given element id with variables.- Parameters:
elementId- the id of the element to activatevariables- variables to be set when activating the element- Returns:
- the builder for this command
-
activateElements
default ActivateAdHocSubProcessActivitiesCommandStep1.ActivateAdHocSubProcessActivitiesCommandStep2 activateElements(Collection<String> elementIds) Create anAdHocSubProcessActivateActivitiesInstructionfor each of the given element ids.- Parameters:
elementIds- the ids of the elements to activate- Returns:
- the builder for this command
- Throws:
IllegalArgumentException- if elementIds is null or empty
-
activateElements
default ActivateAdHocSubProcessActivitiesCommandStep1.ActivateAdHocSubProcessActivitiesCommandStep2 activateElements(String... elementIds) Create anAdHocSubProcessActivateActivitiesInstructionfor each of the given element ids.- Parameters:
elementIds- the ids of the elements to activate- Returns:
- the builder for this command
- Throws:
IllegalArgumentException- if elementIds is null or empty
-
cancelRemainingInstances
ActivateAdHocSubProcessActivitiesCommandStep1.ActivateAdHocSubProcessActivitiesCommandStep2 cancelRemainingInstances(boolean cancelRemainingInstances) Set whether to cancel remaining instances of the ad-hoc sub-process.- Parameters:
cancelRemainingInstances- true to cancel remaining instances, false otherwise- Returns:
- the builder for this command
-