I have created a list of functions and they working fine individually. However other developers have to call these functions individually.
Calling function like this. I would want to simplify more while creating module like user should call using the below line
'type' will be any of the below (mandatory)
a, b, c, d
for each type, relevant function should be called from module
'info' will be input from developer (optional)
'param' will be compulsory list for DBNAME (SQL, ORACLE, TERADATA etc) and optional for rest.
I have created below class for type. However I am unable make proper code to create above functions using IF statement using above types. How might I achieve this?