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 Details

    • StringToUserSortByConverter

      public StringToUserSortByConverter()
      Constructs a new StringToUserSortByConverter.
  • Method Details

    • convert

      public UserSortBy convert(String source)
      Specified by:
      convert in interface org.springframework.core.convert.converter.Converter<String,UserSortBy>