Class ProcessInstanceModificationActivateInstruction
java.lang.Object
io.camunda.zeebe.client.protocol.rest.ProcessInstanceModificationActivateInstruction
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-08-04T12:37:47.170113265Z[GMT]",
comments="Generator version: 7.8.0")
public class ProcessInstanceModificationActivateInstruction
extends Object
Instructions describing which elements should be activated in which scopes and which variables should be created. Key attributes as string values.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddVariableInstructionsItem(ModifyProcessInstanceVariableInstruction variableInstructionsItem) ancestorElementInstanceKey(String ancestorElementInstanceKey) booleanThe key of the ancestor scope the element instance should be created in.The ID of the element that should be activated.Get variableInstructionsinthashCode()voidsetAncestorElementInstanceKey(String ancestorElementInstanceKey) voidsetElementId(String elementId) voidsetVariableInstructions(List<ModifyProcessInstanceVariableInstruction> variableInstructions) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.variableInstructions(List<ModifyProcessInstanceVariableInstruction> variableInstructions)
-
Field Details
-
JSON_PROPERTY_ANCESTOR_ELEMENT_INSTANCE_KEY
- See Also:
-
JSON_PROPERTY_ELEMENT_ID
- See Also:
-
JSON_PROPERTY_VARIABLE_INSTRUCTIONS
- See Also:
-
-
Constructor Details
-
ProcessInstanceModificationActivateInstruction
public ProcessInstanceModificationActivateInstruction()
-
-
Method Details
-
ancestorElementInstanceKey
public ProcessInstanceModificationActivateInstruction ancestorElementInstanceKey(String 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
-
elementId
-
getElementId
The ID of the element that should be activated.- Returns:
- elementId
-
setElementId
-
variableInstructions
public ProcessInstanceModificationActivateInstruction variableInstructions(List<ModifyProcessInstanceVariableInstruction> variableInstructions) -
addVariableInstructionsItem
public ProcessInstanceModificationActivateInstruction addVariableInstructionsItem(ModifyProcessInstanceVariableInstruction variableInstructionsItem) -
getVariableInstructions
Get variableInstructions- Returns:
- variableInstructions
-
setVariableInstructions
public void setVariableInstructions(List<ModifyProcessInstanceVariableInstruction> variableInstructions) -
equals
-
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-