org.camunda.bpm.engine.rest.dto
Class VariableValueDto

java.lang.Object
  extended by org.camunda.bpm.engine.rest.dto.VariableValueDto
Direct Known Subclasses:
HistoricDecisionInputInstanceDto, HistoricDecisionOutputInstanceDto, HistoricVariableInstanceDto, TriggerVariableValueDto, VariableInstanceDto

public class VariableValueDto
extends Object

Author:
Daniel Meyer, Thorben Lindhauer

Field Summary
protected  String type
           
protected  Object value
           
protected  Map<String,Object> valueInfo
           
 
Constructor Summary
VariableValueDto()
           
 
Method Summary
protected  org.camunda.bpm.engine.variable.value.FileValue fileValueWithDecodedString(org.camunda.bpm.engine.variable.value.FileValue fileValue, String value)
           
static VariableValueDto fromFormPart(String type, MultipartFormData.FormPart binaryDataFormPart)
           
static String fromRestApiTypeName(String name)
           
static VariableValueDto fromTypedValue(org.camunda.bpm.engine.variable.value.TypedValue typedValue)
           
static VariableValueDto fromTypedValue(org.camunda.bpm.engine.variable.value.TypedValue typedValue, boolean preferSerializedValue)
           
static void fromTypedValue(VariableValueDto dto, org.camunda.bpm.engine.variable.value.TypedValue typedValue)
           
static void fromTypedValue(VariableValueDto dto, org.camunda.bpm.engine.variable.value.TypedValue typedValue, boolean preferSerializedValue)
           
static Map<String,VariableValueDto> fromVariableMap(org.camunda.bpm.engine.variable.VariableMap variables)
           
 String getType()
           
 Object getValue()
           
 Map<String,Object> getValueInfo()
           
 void setType(String type)
           
 void setValue(Object value)
           
 void setValueInfo(Map<String,Object> valueInfo)
           
static org.camunda.bpm.engine.variable.VariableMap toMap(Map<String,VariableValueDto> variables, ProcessEngine processEngine, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
           
static String toRestApiTypeName(String name)
           
 org.camunda.bpm.engine.variable.value.TypedValue toTypedValue(ProcessEngine processEngine, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected String type

value

protected Object value

valueInfo

protected Map<String,Object> valueInfo
Constructor Detail

VariableValueDto

public VariableValueDto()
Method Detail

getType

public String getType()

setType

public void setType(String type)

getValue

public Object getValue()

setValue

public void setValue(Object value)

getValueInfo

public Map<String,Object> getValueInfo()

setValueInfo

public void setValueInfo(Map<String,Object> valueInfo)

toTypedValue

public org.camunda.bpm.engine.variable.value.TypedValue toTypedValue(ProcessEngine processEngine,
                                                                     com.fasterxml.jackson.databind.ObjectMapper objectMapper)

fileValueWithDecodedString

protected org.camunda.bpm.engine.variable.value.FileValue fileValueWithDecodedString(org.camunda.bpm.engine.variable.value.FileValue fileValue,
                                                                                     String value)

toMap

public static org.camunda.bpm.engine.variable.VariableMap toMap(Map<String,VariableValueDto> variables,
                                                                ProcessEngine processEngine,
                                                                com.fasterxml.jackson.databind.ObjectMapper objectMapper)

fromTypedValue

public static VariableValueDto fromTypedValue(org.camunda.bpm.engine.variable.value.TypedValue typedValue)

fromTypedValue

public static VariableValueDto fromTypedValue(org.camunda.bpm.engine.variable.value.TypedValue typedValue,
                                              boolean preferSerializedValue)

fromTypedValue

public static void fromTypedValue(VariableValueDto dto,
                                  org.camunda.bpm.engine.variable.value.TypedValue typedValue)

fromTypedValue

public static void fromTypedValue(VariableValueDto dto,
                                  org.camunda.bpm.engine.variable.value.TypedValue typedValue,
                                  boolean preferSerializedValue)

toRestApiTypeName

public static String toRestApiTypeName(String name)

fromRestApiTypeName

public static String fromRestApiTypeName(String name)

fromVariableMap

public static Map<String,VariableValueDto> fromVariableMap(org.camunda.bpm.engine.variable.VariableMap variables)

fromFormPart

public static VariableValueDto fromFormPart(String type,
                                            MultipartFormData.FormPart binaryDataFormPart)


Copyright © 2016 camunda services GmbH. All rights reserved.