/** @param aPlugins */ private static void showInterfaces(PluginCollection aPlugins) { Trace.println(Trace.EXEC, "showInterfaces( aPlugins )", true); System.out.println("Supported interfaces:"); SupportedInterfaceList interfaceList = aPlugins.getInterfaces(); for (Enumeration<String> keys = interfaceList.getInterfaceNames(); keys.hasMoreElements(); ) { String ifaceName = keys.nextElement(); System.out.println(" " + ifaceName); } }
/** * @param aTestium * @param anRtData * @throws Error */ private static void showKeywords(PluginCollection aPlugins) { Trace.println(Trace.EXEC, "showKeywords( aPlugins )", true); System.out.println("Supported keywords:"); SupportedInterfaceList interfaceList = aPlugins.getInterfaces(); for (Enumeration<String> keys = interfaceList.getInterfaceNames(); keys.hasMoreElements(); ) { String ifaceName = keys.nextElement(); System.out.println(" " + ifaceName); ArrayList<String> commandList = interfaceList.getInterface(ifaceName).getCommands(); for (String command : commandList) { System.out.println(" " + command); } System.out.println(); } }