Package net.sourceforge.processdash.util

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


        }

        webServer.setData(data);
        webServer.setProps(props);
        webServer.setCache(objectCache);
        pt.click("Set web server context objects");
       
        MessageDispatcher.init(this);
        ImportManager.init(data);
        InternalSettings.addPropertyChangeListener(ImportManager.SETTING_NAME,
            EventHandler.create(PropertyChangeListener.class, this,
View Full Code Here


        MessageDispatcher.init(this);
        ImportManager.init(data);
        InternalSettings.addPropertyChangeListener(ImportManager.SETTING_NAME,
            EventHandler.create(PropertyChangeListener.class, this,
                "flushWorkingData"));
        pt.click("Initialized import manager");
        data.finishInconsistency();
        ExportManager.init(data, this);
        pt.click("Initialized export manager");
        try {
            data.maybeSaveDefinitions(serializedDefinitions);
View Full Code Here

            EventHandler.create(PropertyChangeListener.class, this,
                "flushWorkingData"));
        pt.click("Initialized import manager");
        data.finishInconsistency();
        ExportManager.init(data, this);
        pt.click("Initialized export manager");
        try {
            data.maybeSaveDefinitions(serializedDefinitions);
        } catch (Exception e) {
            e.printStackTrace();
        }
View Full Code Here

        } catch (Exception e) {
            e.printStackTrace();
        }
        RepairDefectCounts.maybeRun(this, property_directory);
        timeLog.refreshMetrics();
        pt.click("Refreshed time log metrics");

        EVTaskDependencyResolver.init(this);
        WBSTaskOrderComparator.init(this);

        configure_button = new ConfigureButton(this);
View Full Code Here

        EVTaskDependencyResolver.init(this);
        WBSTaskOrderComparator.init(this);

        configure_button = new ConfigureButton(this);
        PCSH.enableHelpKey(this, "QuickOverview");
        pt.click("Created configure button");
        pause_button = new PauseButton(timeLog.getTimeLoggingModel());
        pt.click("Created play/pause button");

        if (Settings.isPersonalMode())
            buildPersonalUI(pt);
View Full Code Here

        configure_button = new ConfigureButton(this);
        PCSH.enableHelpKey(this, "QuickOverview");
        pt.click("Created configure button");
        pause_button = new PauseButton(timeLog.getTimeLoggingModel());
        pt.click("Created play/pause button");

        if (Settings.isPersonalMode())
            buildPersonalUI(pt);
        else
            buildTeamUI(pt);
View Full Code Here

        RuntimeUtils.autoregisterPropagatedSystemProperties();
        if (Settings.isFollowMode())
            new FollowModeManager(workingDirectory, props, prop_file,
                    templates, data, timeLog);
        fireApplicationEvent(ApplicationEventListener.APP_EVENT_STARTED);
        pt.click("Finished initializing Process Dashboard object");
    }

    private Map<String, File> getCmsPersistenceDirs(File dataDir) {
        Map<String, File> result = new LinkedHashMap<String, File>();
View Full Code Here

        ProfTimer pt = new ProfTimer(logger, "ResourceBridgeClient.syncDown["
                + remoteUrl + "]");
        // compare hashcodes to see if the local and remote directories have
        // identical contents
        if (hashesMatch()) {
            pt.click("checked hashes - match");
            return false;
        }
        pt.click("checked hashes - mismatch");

        // as an optimization, download any files from the server that were
View Full Code Here

        // identical contents
        if (hashesMatch()) {
            pt.click("checked hashes - match");
            return false;
        }
        pt.click("checked hashes - mismatch");

        // as an optimization, download any files from the server that were
        // created/modified after our most recently changed file.
        long mostRecentLocalModTime = getMostRecentLocalModTime();
        downloadFiles(makeGetRequest(DOWNLOAD_ACTION,
View Full Code Here

            ResourceFilterFactory.LAST_MOD_PARAM, mostRecentLocalModTime));

        // now make a complete comparison of local-vs-remote changes.
        ResourceCollectionDiff diff = getDiff();
        applySyncFilter(diff, filter);
        pt.click("Computed local-vs-remote diff");
        if (diff == null || diff.noDifferencesFound())
            return false;

        // if any files are present only in our local collection (but not in
        // the remote collection), delete the local files.
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.