Class VariableImpl

java.lang.Object
io.camunda.client.impl.search.response.VariableImpl
All Implemented Interfaces:
Variable

public class VariableImpl extends Object implements Variable
  • Constructor Details

  • Method Details

    • getVariableKey

      public Long getVariableKey()
      Specified by:
      getVariableKey in interface Variable
    • getName

      public String getName()
      Specified by:
      getName in interface Variable
    • getValue

      public String getValue()
      Specified by:
      getValue in interface Variable
    • getScopeKey

      public Long getScopeKey()
      Specified by:
      getScopeKey in interface Variable
    • getProcessInstanceKey

      public Long getProcessInstanceKey()
      Specified by:
      getProcessInstanceKey in interface Variable
    • getRootProcessInstanceKey

      public Long getRootProcessInstanceKey()
      Description copied from interface: Variable
      Returns the key of the root process instance. The root process instance is the top-level ancestor in the process instance hierarchy.

      Note: This field is null for process instance hierarchies created before version 8.9.

      Specified by:
      getRootProcessInstanceKey in interface Variable
      Returns:
      the root process instance key, or null for data created before version 8.9
    • getTenantId

      public String getTenantId()
      Specified by:
      getTenantId in interface Variable
    • isTruncated

      public Boolean isTruncated()
      Specified by:
      isTruncated in interface Variable
    • getValueAsType

      public <T> T getValueAsType(Class<T> type)
      Description copied from interface: Variable
      Deserializes the variable's JSON value into the given type.
      Specified by:
      getValueAsType in interface Variable
      Type Parameters:
      T - the target type
      Parameters:
      type - the class to deserialize the value into
      Returns:
      the deserialized value