Package org.camunda.bpm.engine.rest.dto
Class VariableValueDto
java.lang.Object
org.camunda.bpm.engine.rest.dto.VariableValueDto
- Direct Known Subclasses:
HistoricDecisionInputInstanceDto
,HistoricDecisionOutputInstanceDto
,HistoricVariableInstanceDto
,MigrationVariableValidationReportDto
,TriggerVariableValueDto
,VariableInstanceDto
- Author:
- Daniel Meyer, Thorben Lindhauer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected FileValue
fileValueWithDecodedString
(FileValue fileValue, String value) static VariableValueDto
fromFormPart
(String type, MultipartFormData.FormPart binaryDataFormPart) static Map<String,
VariableValueDto> fromMap
(VariableMap variables) static Map<String,
VariableValueDto> fromMap
(VariableMap variables, boolean preferSerializedValue) static String
fromRestApiTypeName
(String name) static void
fromTypedValue
(VariableValueDto dto, TypedValue typedValue) static void
fromTypedValue
(VariableValueDto dto, TypedValue typedValue, boolean preferSerializedValue) static VariableValueDto
fromTypedValue
(TypedValue typedValue) static VariableValueDto
fromTypedValue
(TypedValue typedValue, boolean preferSerializedValue) getType()
getValue()
void
void
void
setValueInfo
(Map<String, Object> valueInfo) static VariableMap
toMap
(Map<String, VariableValueDto> variables, ProcessEngine processEngine, com.fasterxml.jackson.databind.ObjectMapper objectMapper) static String
toRestApiTypeName
(String name) toTypedValue
(ProcessEngine processEngine, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Field Details
-
type
-
value
-
valueInfo
-
-
Constructor Details
-
VariableValueDto
public VariableValueDto()
-
-
Method Details
-
getType
-
setType
-
getValue
-
setValue
-
getValueInfo
-
setValueInfo
-
toTypedValue
public TypedValue toTypedValue(ProcessEngine processEngine, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
fileValueWithDecodedString
-
toMap
public static VariableMap toMap(Map<String, VariableValueDto> variables, ProcessEngine processEngine, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
fromMap
-
fromMap
public static Map<String,VariableValueDto> fromMap(VariableMap variables, boolean preferSerializedValue) -
fromTypedValue
-
fromTypedValue
-
fromTypedValue
-
fromTypedValue
public static void fromTypedValue(VariableValueDto dto, TypedValue typedValue, boolean preferSerializedValue) -
toRestApiTypeName
-
fromRestApiTypeName
-
fromFormPart
public static VariableValueDto fromFormPart(String type, MultipartFormData.FormPart binaryDataFormPart)
-