[GENERAL_COMPONENTS] switch({component}) { case "command": "command"; break; case "setting": "setting"; break; case "inhibitor": "inhibitor": break; }