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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected FileValuefileValueWithDecodedString(FileValue fileValue, String value) static VariableValueDtofromFormPart(String type, MultipartFormData.FormPart binaryDataFormPart) static Map<String,VariableValueDto> fromMap(VariableMap variables) static Map<String,VariableValueDto> fromMap(VariableMap variables, boolean preferSerializedValue) static StringfromRestApiTypeName(String name) static voidfromTypedValue(VariableValueDto dto, TypedValue typedValue) static voidfromTypedValue(VariableValueDto dto, TypedValue typedValue, boolean preferSerializedValue) static VariableValueDtofromTypedValue(TypedValue typedValue) static VariableValueDtofromTypedValue(TypedValue typedValue, boolean preferSerializedValue) getType()getValue()voidvoidvoidsetValueInfo(Map<String, Object> valueInfo) static VariableMaptoMap(Map<String, VariableValueDto> variables, ProcessEngine processEngine, com.fasterxml.jackson.databind.ObjectMapper objectMapper) static StringtoRestApiTypeName(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)
-