/** * Gets the list of modules as file names.<p> * * @return the list of modules as file names */ public List<String> getModuleFileNames() { List<String> result = Lists.newArrayList(); for (CmsModule module : OpenCms.getModuleManager().getAllInstalledModules()) { result.add(getFileNameForModule(module)); } return result; }
/** * Collect GWT build ids from the different ADE modules.<p> * * @return the map of GWT build ids */ protected Map<String, String> getBuildIds() { List<CmsModule> modules = OpenCms.getModuleManager().getAllInstalledModules(); Map<String, String> result = new HashMap<String, String>(); for (CmsModule module : modules) { String buildid = module.getParameter(CmsCoreData.KEY_GWT_BUILDID); if (buildid != null) { result.put(module.getName(), buildid); } } return result; }
/** * Gets the virtual resources in the log folder.<p> * * @param cms the CMS context * @return the list of virtual log resources * * @throws CmsException if something goes wrong */ private List<CmsResource> getVirtualLogResources(CmsObject cms) throws CmsException { List<CmsResource> virtualResources = Lists.newArrayList(); for (CmsModule module : OpenCms.getModuleManager().getAllInstalledModules()) { String path = CmsStringUtil.joinPaths(LOG_PATH, module.getName() + ".log"); CmsResource res = createFakeBinaryFile(path); virtualResources.add(res); } return virtualResources; }
Iterator<CmsModule> itMods; if (rfsAbsPath == null) { itMods = OpenCms.getModuleManager().getAllInstalledModules().iterator(); } else { itMods = getAllModulesFromPath(rfsAbsPath).keySet().iterator();
Iterator itMods; if (rfsAbsPath == null) { itMods = OpenCms.getModuleManager().getAllInstalledModules().iterator(); } else { itMods = getAllModulesFromPath(rfsAbsPath).keySet().iterator();
List<CmsModule> modules = OpenCms.getModuleManager().getAllInstalledModules(); long beginTime = System.currentTimeMillis(); for (CmsModule module : modules) {
List modules; if (rfsAbsPath == null) { modules = OpenCms.getModuleManager().getAllInstalledModules(); } else { modules = new ArrayList(getAllModulesFromPath(rfsAbsPath).keySet());
List<CmsModule> modules; if (rfsAbsPath == null) { modules = OpenCms.getModuleManager().getAllInstalledModules(); } else { modules = new ArrayList<CmsModule>(getAllModulesFromPath(rfsAbsPath).keySet());