Package org.netbeans.server.uihandler.statistics

Examples of org.netbeans.server.uihandler.statistics.NetBeansModules


        Logfile logfile = exceptions.getLogfileId();
        Nbversion version = logfile.getProductVersionId().getNbversionId();
        Map<String, Object> params = Collections.singletonMap("nbversion", (Object) version);
        List<Patch> patches = PersistenceUtils.executeNamedQuery(em, "Patch.findNbVersion", params, Patch.class);
        NetBeansModules modules = new NetBeansModules();
        modules.setRememberDistinctVersions(true);
        List<String> installedPatches = new ArrayList<String>();
        if ((patches != null) && (patches.size() > 0)) {
            NetBeansModules.NBMData data = null;
            for (Iterator<LogRecord> it = records.iterator(); it.hasNext();) {
                data = modules.join(data, modules.process(it.next()));
            }
            if (data != null) {
                for (Patch patche : patches) {
                    ModuleInfo info = data.getEnabled(patche.getModulename());
                    String specVersion = patche.getSpecversion();
View Full Code Here

TOP

Related Classes of org.netbeans.server.uihandler.statistics.NetBeansModules

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.