org.camunda.bpm.engine.rest.dto.converter
Class VariableListConverter

java.lang.Object
  extended by org.camunda.bpm.engine.rest.dto.converter.JacksonAwareStringToTypeConverter<List<VariableQueryParameterDto>>
      extended by org.camunda.bpm.engine.rest.dto.converter.VariableListConverter
All Implemented Interfaces:
StringToTypeConverter<List<VariableQueryParameterDto>>

public class VariableListConverter
extends JacksonAwareStringToTypeConverter<List<VariableQueryParameterDto>>

Reads a list of VariableQueryParameterDtos 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
VariableListConverter()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableListConverter

public VariableListConverter()
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 interface StringToTypeConverter<List<VariableQueryParameterDto>>
Specified by:
convertQueryParameterToType in class JacksonAwareStringToTypeConverter<List<VariableQueryParameterDto>>


Copyright © 2016 camunda services GmbH. All rights reserved.