Class PeriodUnitConverter
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.converter.JacksonAwareStringToTypeConverter<PeriodUnit>
-
- org.camunda.bpm.engine.rest.dto.converter.PeriodUnitConverter
-
- All Implemented Interfaces:
StringToTypeConverter<PeriodUnit>
public class PeriodUnitConverter extends JacksonAwareStringToTypeConverter<PeriodUnit>
- Author:
- Roman Smirnov
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.rest.dto.converter.JacksonAwareStringToTypeConverter
objectMapper
-
-
Constructor Summary
Constructors Constructor Description PeriodUnitConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PeriodUnit
convertQueryParameterToType(String value)
protected <T extends Enum<T>>
TmapToEnum(String value, Class<T> type)
-
Methods inherited from class org.camunda.bpm.engine.rest.dto.converter.JacksonAwareStringToTypeConverter
mapToType, setObjectMapper
-
-
-
-
Method Detail
-
convertQueryParameterToType
public PeriodUnit convertQueryParameterToType(String value)
- Specified by:
convertQueryParameterToType
in interfaceStringToTypeConverter<PeriodUnit>
- Specified by:
convertQueryParameterToType
in classJacksonAwareStringToTypeConverter<PeriodUnit>
-
-