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
public class VariableValueDto extends java.lang.Object
- Author:
- Daniel Meyer, Thorben Lindhauer
-
-
Constructor Summary
Constructors Constructor Description VariableValueDto()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FileValue
fileValueWithDecodedString(FileValue fileValue, java.lang.String value)
static VariableValueDto
fromFormPart(java.lang.String type, MultipartFormData.FormPart binaryDataFormPart)
static java.util.Map<java.lang.String,VariableValueDto>
fromMap(VariableMap variables)
static java.util.Map<java.lang.String,VariableValueDto>
fromMap(VariableMap variables, boolean preferSerializedValue)
static java.lang.String
fromRestApiTypeName(java.lang.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)
java.lang.String
getType()
java.lang.Object
getValue()
java.util.Map<java.lang.String,java.lang.Object>
getValueInfo()
void
setType(java.lang.String type)
void
setValue(java.lang.Object value)
void
setValueInfo(java.util.Map<java.lang.String,java.lang.Object> valueInfo)
static VariableMap
toMap(java.util.Map<java.lang.String,VariableValueDto> variables, ProcessEngine processEngine, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
static java.lang.String
toRestApiTypeName(java.lang.String name)
TypedValue
toTypedValue(ProcessEngine processEngine, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
-
Method Detail
-
getType
public java.lang.String getType()
-
setType
public void setType(java.lang.String type)
-
getValue
public java.lang.Object getValue()
-
setValue
public void setValue(java.lang.Object value)
-
getValueInfo
public java.util.Map<java.lang.String,java.lang.Object> getValueInfo()
-
setValueInfo
public void setValueInfo(java.util.Map<java.lang.String,java.lang.Object> valueInfo)
-
toTypedValue
public TypedValue toTypedValue(ProcessEngine processEngine, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
fileValueWithDecodedString
protected FileValue fileValueWithDecodedString(FileValue fileValue, java.lang.String value)
-
toMap
public static VariableMap toMap(java.util.Map<java.lang.String,VariableValueDto> variables, ProcessEngine processEngine, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
fromMap
public static java.util.Map<java.lang.String,VariableValueDto> fromMap(VariableMap variables)
-
fromMap
public static java.util.Map<java.lang.String,VariableValueDto> fromMap(VariableMap variables, boolean preferSerializedValue)
-
fromTypedValue
public static VariableValueDto fromTypedValue(TypedValue typedValue)
-
fromTypedValue
public static VariableValueDto fromTypedValue(TypedValue typedValue, boolean preferSerializedValue)
-
fromTypedValue
public static void fromTypedValue(VariableValueDto dto, TypedValue typedValue)
-
fromTypedValue
public static void fromTypedValue(VariableValueDto dto, TypedValue typedValue, boolean preferSerializedValue)
-
toRestApiTypeName
public static java.lang.String toRestApiTypeName(java.lang.String name)
-
fromRestApiTypeName
public static java.lang.String fromRestApiTypeName(java.lang.String name)
-
fromFormPart
public static VariableValueDto fromFormPart(java.lang.String type, MultipartFormData.FormPart binaryDataFormPart)
-
-