Package io.camunda.client.protocol.rest
Class ProcessInstanceModificationActivateInstruction
java.lang.Object
io.camunda.client.protocol.rest.ProcessInstanceModificationActivateInstruction
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-25T13:39:08.081076719Z[GMT]",
comments="Generator version: 7.10.0")
public class ProcessInstanceModificationActivateInstruction
extends Object
Instructions describing an element that should be activated.
-
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.Instructions describing which variables should be created.inthashCode()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_ELEMENT_ID
- See Also:
-
JSON_PROPERTY_VARIABLE_INSTRUCTIONS
- See Also:
-
JSON_PROPERTY_ANCESTOR_ELEMENT_INSTANCE_KEY
- See Also:
-
-
Constructor Details
-
ProcessInstanceModificationActivateInstruction
public ProcessInstanceModificationActivateInstruction()
-
-
Method Details
-
elementId
-
getElementId
The ID of the element that should be activated.- Returns:
- elementId
-
setElementId
-
variableInstructions
public ProcessInstanceModificationActivateInstruction variableInstructions(@Nullable List<ModifyProcessInstanceVariableInstruction> variableInstructions) -
addVariableInstructionsItem
public ProcessInstanceModificationActivateInstruction addVariableInstructionsItem(ModifyProcessInstanceVariableInstruction variableInstructionsItem) -
getVariableInstructions
Instructions describing which variables should be created.- Returns:
- variableInstructions
-
setVariableInstructions
public void setVariableInstructions(@Nullable List<ModifyProcessInstanceVariableInstruction> variableInstructions) -
ancestorElementInstanceKey
public ProcessInstanceModificationActivateInstruction ancestorElementInstanceKey(@Nullable 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
-
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
-