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
public class TaskVariablesResource extends AbstractVariablesResource
- 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
Constructors Constructor Description TaskVariablesResource(ProcessEngine engine, String resourceId, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getResourceTypeName()
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 Detail
-
TaskVariablesResource
public TaskVariablesResource(ProcessEngine engine, String resourceId, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
getResourceTypeName
protected String getResourceTypeName()
- Specified by:
getResourceTypeName
in classAbstractVariablesResource
-
getVariableEntity
protected TypedValue getVariableEntity(String variableKey, boolean deserializeValue)
- Specified by:
getVariableEntity
in classAbstractVariablesResource
-
getVariableEntities
protected VariableMap getVariableEntities(boolean deserializeValues)
- Specified by:
getVariableEntities
in classAbstractVariablesResource
-
removeVariableEntity
protected void removeVariableEntity(String variableKey)
- Specified by:
removeVariableEntity
in classAbstractVariablesResource
-
updateVariableEntities
protected void updateVariableEntities(VariableMap modifications, List<String> deletions)
- Specified by:
updateVariableEntities
in classAbstractVariablesResource
-
setVariableEntity
protected void setVariableEntity(String variableKey, TypedValue variableValue)
- Specified by:
setVariableEntity
in classAbstractVariablesResource
-
-