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(java.lang.String value)
protected <T extends java.lang.Enum<T>>
TmapToEnum(java.lang.String value, java.lang.Class<T> type)
-
Methods inherited from class org.camunda.bpm.engine.rest.dto.converter.JacksonAwareStringToTypeConverter
mapToType, setObjectMapper
-
-
-
-
Method Detail
-
convertQueryParameterToType
public PeriodUnit convertQueryParameterToType(java.lang.String value)
- Specified by:
convertQueryParameterToType
in interfaceStringToTypeConverter<PeriodUnit>
- Specified by:
convertQueryParameterToType
in classJacksonAwareStringToTypeConverter<PeriodUnit>
-
mapToEnum
protected <T extends java.lang.Enum<T>> T mapToEnum(java.lang.String value, java.lang.Class<T> type)
-
-