For every Report I have a special handler class for that report currently I store the report name as a private constant inside the handler class.
I use the report name as a key to get this report specific configuration from the reports configuration file.
I thought about changing this and store all the report names in an enum , the other approach I have in mind is to use the fully qualified name of the handler class as the key in the configuration file.
I need to know which approach is better : Interface , Enum , Handler class constant or use the class name as a key in the configuration file instead of the report name
Please Advice