Package net.sourceforge.processdash.util

Examples of net.sourceforge.processdash.util.ProfTimer.click()


        ProfTimer pt = new ProfTimer(logger,
                "ResourceBridgeClient.releaseLock[" + remoteUrl + "]");
        try {
            doLockPostRequest(RELEASE_LOCK_ACTION);
            setOfflineLockStatus(OfflineLockStatus.NotLocked);
            pt.click("Released bridged lock");
        } catch (Exception e) {
            // We don't throw any error here, because if we fail to release
            // the bridged lock, the worst case scenario is that it will time
            // out on the server after 5 minutes or so.  Log a message for
            // posterity.
View Full Code Here


        DashHierarchy templates = new DashHierarchy(null);
        ProfTimer pt = new ProfTimer(TemplateLoader.class,
            "TemplateLoader.loadTemplates");

        URL[] roots = getTemplateURLs();
        pt.click("Got template roots");

        String templateDirURL;
        for (int i=roots.length;   i-- > 0) {
            templateDirURL = roots[i].toString();
View Full Code Here

                // strip "file:" from the beginning of the url.
                String dirname = templateDirURL.substring(5);
                dirname = HTMLUtils.urlDecode(dirname);
                searchDirForTemplates(templates, dirname, data);
                pt.click("searched dir '" + dirname + "' for templates");

            } else {
                /* If the /Templates directory found is in a jar somewhere,
                 * search through the jar for process templates.
                 */
 
View Full Code Here

                // Strip "jar:" from the beginning and the "!/Templates/"
                // from the end of the URL.
                String jarFileURL = templateDirURL.substring
                    (4, templateDirURL.indexOf('!'));
                searchJarForTemplates(templates, jarFileURL, data);
                pt.click("searched jar '" + jarFileURL + "' for templates");
            }
        }

        generateRollupTemplates(templates, data);
View Full Code Here

        generateRollupTemplates(templates, data);

        createProcessRoot(templates);

        pt.click("done loading templates");
        return templates;
    }

    /** Add a specific template to the search list.
     *
 
View Full Code Here

        }

        filterURLList(result);

        template_url_list = urlListToArray(result);
        pt.click("Calculated template URL list");
        return template_url_list;
    }
    private static String getSearchPath() {
        if (Settings.getBool("templates.disableSearchPath", false)) {
            logger.config("Template search path is disabled");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.