Class ModifyProcessInstanceActivateInstruction
java.lang.Object
io.camunda.zeebe.client.protocol.rest.ModifyProcessInstanceActivateInstruction
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-28T16:53:53.401346729Z[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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddVariableInstructionsItem(ModifyProcessInstanceVariableInstruction variableInstructionsItem) ancestorElementInstanceKey(Long 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(Long 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_ELEMENT_ID
- See Also:
-
JSON_PROPERTY_ANCESTOR_ELEMENT_INSTANCE_KEY
- See Also:
-
JSON_PROPERTY_VARIABLE_INSTRUCTIONS
- See Also:
-
-
Constructor Details
-
ModifyProcessInstanceActivateInstruction
public ModifyProcessInstanceActivateInstruction()
-
-
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<ModifyProcessInstanceVariableInstruction> variableInstructions) -
addVariableInstructionsItem
public ModifyProcessInstanceActivateInstruction 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
-