Class DirectAncestorKeyInstruction

java.lang.Object
io.camunda.client.protocol.rest.DirectAncestorKeyInstruction
All Implemented Interfaces:
AncestorScopeInstruction

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.23.0") public class DirectAncestorKeyInstruction extends Object implements AncestorScopeInstruction
Provides a concrete key to use as ancestor scope for the created element instance.
  • Field Details

    • JSON_PROPERTY_ANCESTOR_SCOPE_TYPE

      public static final String JSON_PROPERTY_ANCESTOR_SCOPE_TYPE
      See Also:
    • JSON_PROPERTY_ANCESTOR_ELEMENT_INSTANCE_KEY

      public static final String JSON_PROPERTY_ANCESTOR_ELEMENT_INSTANCE_KEY
      See Also:
  • Constructor Details

    • DirectAncestorKeyInstruction

      public DirectAncestorKeyInstruction()
  • Method Details

    • ancestorScopeType

      public DirectAncestorKeyInstruction ancestorScopeType(@Nonnull String ancestorScopeType)
    • getAncestorScopeType

      @Nonnull public String getAncestorScopeType()
      The type of ancestor scope instruction.
      Specified by:
      getAncestorScopeType in interface AncestorScopeInstruction
      Returns:
      ancestorScopeType
    • setAncestorScopeType

      public void setAncestorScopeType(@Nonnull String ancestorScopeType)
    • ancestorElementInstanceKey

      public DirectAncestorKeyInstruction ancestorElementInstanceKey(@Nonnull String ancestorElementInstanceKey)
    • getAncestorElementInstanceKey

      @Nonnull public String 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. If multiple instances of the target element's flow scope exist, choose one specifically with this property by providing its key.
      Returns:
      ancestorElementInstanceKey
    • setAncestorElementInstanceKey

      public void setAncestorElementInstanceKey(@Nonnull String ancestorElementInstanceKey)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object