Class ModifyProcessInstanceActivateInstruction
java.lang.Object
io.camunda.zeebe.gateway.protocol.rest.ModifyProcessInstanceActivateInstruction
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
date="2024-10-11T17:26:39.504605721Z[GMT]",
comments="Generator version: 7.8.0")
public class ModifyProcessInstanceActivateInstruction
extends Object
Instructions describing which elements should be activated in which scopes and which variables should be created.
-
Constructor Summary
ConstructorsConstructorDescriptionModifyProcessInstanceActivateInstruction(String elementId) Constructor with only required parameters -
Method Summary
Modifier and TypeMethodDescriptionaddVariableInstructionsItem(ModifyProcessInstanceVariableInstruction variableInstructionsItem) ancestorElementInstanceKey(Long ancestorElementInstanceKey) booleanThe key of the ancestor scope the element instance should be created in.@NotNull StringThe ID of the element that should be activated.@Valid List<@Valid ModifyProcessInstanceVariableInstruction> Get variableInstructionsinthashCode()voidsetAncestorElementInstanceKey(Long ancestorElementInstanceKey) voidsetElementId(String elementId) voidsetVariableInstructions(List<@Valid ModifyProcessInstanceVariableInstruction> variableInstructions) toString()variableInstructions(List<@Valid ModifyProcessInstanceVariableInstruction> variableInstructions)
-
Constructor Details
-
ModifyProcessInstanceActivateInstruction
public ModifyProcessInstanceActivateInstruction() -
ModifyProcessInstanceActivateInstruction
Constructor with only required parameters
-
-
Method Details
-
elementId
-
getElementId
The ID of the element that should be activated.- Returns:
- elementId
-
setElementId
-
ancestorElementInstanceKey
public ModifyProcessInstanceActivateInstruction ancestorElementInstanceKey(Long ancestorElementInstanceKey) -
getAncestorElementInstanceKey
The key of the ancestor scope the element instance should be created in. Set to -1 to create the new element instance within an existing element instance of the flow scope.- Returns:
- ancestorElementInstanceKey
-
setAncestorElementInstanceKey
-
variableInstructions
public ModifyProcessInstanceActivateInstruction variableInstructions(List<@Valid ModifyProcessInstanceVariableInstruction> variableInstructions) -
addVariableInstructionsItem
public ModifyProcessInstanceActivateInstruction addVariableInstructionsItem(ModifyProcessInstanceVariableInstruction variableInstructionsItem) -
getVariableInstructions
@Valid public @Valid List<@Valid ModifyProcessInstanceVariableInstruction> getVariableInstructions()Get variableInstructions- Returns:
- variableInstructions
-
setVariableInstructions
public void setVariableInstructions(List<@Valid ModifyProcessInstanceVariableInstruction> variableInstructions) -
equals
-
hashCode
public int hashCode() -
toString
-