Class VariableListConverter
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.converter.JacksonAwareStringToTypeConverter<java.util.List<VariableQueryParameterDto>>
-
- org.camunda.bpm.engine.rest.dto.converter.VariableListConverter
-
- All Implemented Interfaces:
StringToTypeConverter<java.util.List<VariableQueryParameterDto>>
public class VariableListConverter extends JacksonAwareStringToTypeConverter<java.util.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 java.util.List<VariableQueryParameterDto>
convertQueryParameterToType(java.lang.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 java.util.List<VariableQueryParameterDto> convertQueryParameterToType(java.lang.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<java.util.List<VariableQueryParameterDto>>
- Specified by:
convertQueryParameterToType
in classJacksonAwareStringToTypeConverter<java.util.List<VariableQueryParameterDto>>
-
-