Class VariableListConverter
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.converter.JacksonAwareStringToTypeConverter<List<VariableQueryParameterDto>>
-
- org.camunda.bpm.engine.rest.dto.converter.VariableListConverter
-
- All Implemented Interfaces:
StringToTypeConverter<List<VariableQueryParameterDto>>
public class VariableListConverter extends JacksonAwareStringToTypeConverter<List<VariableQueryParameterDto>>
Reads a list ofVariableQueryParameterDto
s from a single parameter. Expects a given format (see method comments).- Author:
- Thorben Lindhauer
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.rest.dto.converter.JacksonAwareStringToTypeConverter
objectMapper
-
-
Constructor Summary
Constructors Constructor Description VariableListConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<VariableQueryParameterDto>
convertQueryParameterToType(String value)
Expects a query parameter of multiple variable expressions formatted as KEY_OPERATOR_VALUE, e.g.-
Methods inherited from class org.camunda.bpm.engine.rest.dto.converter.JacksonAwareStringToTypeConverter
mapToType, setObjectMapper
-
-
-
-
Method Detail
-
convertQueryParameterToType
public List<VariableQueryParameterDto> convertQueryParameterToType(String value)
Expects a query parameter of multiple variable expressions formatted as KEY_OPERATOR_VALUE, e.g. aVariable_eq_aValue. Multiple values are expected to be comma-separated.- Specified by:
convertQueryParameterToType
in interfaceStringToTypeConverter<List<VariableQueryParameterDto>>
- Specified by:
convertQueryParameterToType
in classJacksonAwareStringToTypeConverter<List<VariableQueryParameterDto>>
-
-