- java.lang.Object
-
- util.UserRoleUtil
-
public class UserRoleUtil extends java.lang.Object
TheUserRoleUtil
provide utility function for converting string input to an enum for the user role variable
-
-
Constructor Summary
Constructors Constructor Description UserRoleUtil()
Construct an instance ofUserRoleUtil
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UserRole
convertToEnum(java.lang.String input)
Convert from string input to UserRole enum variable
-
-
-
Constructor Detail
-
UserRoleUtil
public UserRoleUtil()
Construct an instance ofUserRoleUtil
-
-
Method Detail
-
convertToEnum
public static UserRole convertToEnum(java.lang.String input)
Convert from string input to UserRole enum variable- Parameters:
input
- the string input of UserRole status from csv file- Returns:
- the UserRole enum variable for code
-
-