Class VariableImpl
java.lang.Object
io.camunda.client.impl.search.response.VariableImpl
- All Implemented Interfaces:
Variable
-
Constructor Summary
ConstructorsConstructorDescriptionVariableImpl(VariableResult item, JsonMapper jsonMapper) VariableImpl(VariableSearchResult item, JsonMapper jsonMapper) -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the key of the root process instance.getValue()<T> TgetValueAsType(Class<T> type) Deserializes the variable's JSON value into the given type.
-
Constructor Details
-
VariableImpl
-
VariableImpl
-
-
Method Details
-
getVariableKey
- Specified by:
getVariableKeyin interfaceVariable
-
getName
-
getValue
-
getScopeKey
- Specified by:
getScopeKeyin interfaceVariable
-
getProcessInstanceKey
- Specified by:
getProcessInstanceKeyin interfaceVariable
-
getRootProcessInstanceKey
Description copied from interface:VariableReturns 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
nullfor process instance hierarchies created before version 8.9.- Specified by:
getRootProcessInstanceKeyin interfaceVariable- Returns:
- the root process instance key, or
nullfor data created before version 8.9
-
getTenantId
- Specified by:
getTenantIdin interfaceVariable
-
isTruncated
- Specified by:
isTruncatedin interfaceVariable
-
getValueAsType
Description copied from interface:VariableDeserializes the variable's JSON value into the given type.- Specified by:
getValueAsTypein interfaceVariable- Type Parameters:
T- the target type- Parameters:
type- the class to deserialize the value into- Returns:
- the deserialized value
-