Package africa.absa.inception.security
Class StringToUserSortByConverter
- java.lang.Object
-
- africa.absa.inception.security.StringToUserSortByConverter
-
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<String,UserSortBy>
@Component public class StringToUserSortByConverter extends Object implements org.springframework.core.convert.converter.Converter<String,UserSortBy>
The StringToUserSortByConverter class implements the Spring converter that converts a String type into a UserSortBy type.- Author:
- Marcus Portmann
-
-
Constructor Summary
Constructors Constructor Description StringToUserSortByConverter()Constructs a new StringToUserSortByConverter.
-
-
-
Method Detail
-
convert
public UserSortBy convert(String source)
- Specified by:
convertin interfaceorg.springframework.core.convert.converter.Converter<String,UserSortBy>
-
-