Class TaskVariablesResource
java.lang.Object
org.camunda.bpm.engine.rest.sub.impl.AbstractVariablesResource
org.camunda.bpm.engine.rest.sub.task.impl.TaskVariablesResource
- All Implemented Interfaces:
VariableResource
- Author:
- Daniel Meyer
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.rest.sub.impl.AbstractVariablesResource
DEFAULT_BINARY_VALUE_TYPE, engine, objectMapper, resourceId
Fields inherited from interface org.camunda.bpm.engine.rest.sub.VariableResource
DESERIALIZE_VALUE_QUERY_PARAM, DESERIALIZE_VALUES_QUERY_PARAM
-
Constructor Summary
ConstructorDescriptionTaskVariablesResource
(ProcessEngine engine, String resourceId, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected VariableMap
getVariableEntities
(boolean deserializeValues) protected TypedValue
getVariableEntity
(String variableKey, boolean deserializeValue) protected void
removeVariableEntity
(String variableKey) protected void
setVariableEntity
(String variableKey, TypedValue variableValue) protected void
updateVariableEntities
(VariableMap modifications, List<String> deletions) Methods inherited from class org.camunda.bpm.engine.rest.sub.impl.AbstractVariablesResource
deleteVariable, deserializeJsonObject, getProcessEngineConfiguration, getTypedValueForVariable, getVariable, getVariableBinary, getVariables, modifyVariables, putVariable, setBinaryVariable, validateType, validateType, validateTypeInternal
-
Constructor Details
-
TaskVariablesResource
public TaskVariablesResource(ProcessEngine engine, String resourceId, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getResourceTypeName
- Specified by:
getResourceTypeName
in classAbstractVariablesResource
-
getVariableEntity
- Specified by:
getVariableEntity
in classAbstractVariablesResource
-
getVariableEntities
- Specified by:
getVariableEntities
in classAbstractVariablesResource
-
removeVariableEntity
- Specified by:
removeVariableEntity
in classAbstractVariablesResource
-
updateVariableEntities
- Specified by:
updateVariableEntities
in classAbstractVariablesResource
-
setVariableEntity
- Specified by:
setVariableEntity
in classAbstractVariablesResource
-