get Enum With Default
Returns the matching enum instance based on a input string with a default value in case there is no match.
Return
the matching instance of null
Parameters
clazz
the enum class
name
the name of the enum to match
default Value
the default value