Package net.sourceforge.processdash.ev

Examples of net.sourceforge.processdash.ev.EVDependencyCalculator$StatusCollector


            EVTaskList tl = EVTaskList.openExisting(taskScheduleName, ctx
                    .getData(), ctx.getHierarchy(), ctx.getCache(), false);
            if (tl == null)
                continue;

            tl.setDependencyCalculator(new EVDependencyCalculator(
                    ctx.getData(), ctx.getHierarchy(), ctx.getCache()));
            tl.recalc();
           
            if (merged)
                tl = new EVTaskListMerged(tl, false, false, null);
View Full Code Here


        public Object construct() {
            ThreadThrottler.beginThrottling();

            // Find and recalc the dependencies associated with this task.
            EVDependencyCalculator calc = new EVDependencyCalculator(context
                    .getData(), context.getHierarchy(), context.getCache());
            String owner = ProcessDashboard.getOwnerName(context.getData());
            List dependencies = EVTaskDependency.getAllDependencies(context
                    .getData(), taskPath, owner);
            if (dependencies == null || dependencies.isEmpty())
                return dependencies;
            calc.recalculate(dependencies);

            // if there is only one EV task list containing this task, or if
            // there is a preferred task list, find the active task in that
            // task list, and compute the dependency target date.
            List taskListNames = EVTaskList.getPreferredTaskListsForPath(
View Full Code Here

            else
                model = new EVTaskListData
                    (taskListName, dash.getData(), dash.getHierarchy(), true);
        }
       
        EVDependencyCalculator depCalc = new EVDependencyCalculator(
                dash.getData(), dash.getHierarchy(), dash.getCache());
        model.setDependencyCalculator(depCalc);
        model.setTaskLabeler(new DefaultTaskLabeler(dash.getHierarchy(), //
                dash.getData(), model));
       
View Full Code Here

             false); // change notification not required
        if (evModel == null)
            throw new TinyCGIException(404, "Not Found",
                                       "No such task/schedule");

        EVDependencyCalculator depCalc = new EVDependencyCalculator(
                getDataRepository(), getPSPProperties(), getObjectCache());
        evModel.setDependencyCalculator(depCalc);
        evModel.setTaskLabeler(new DefaultTaskLabeler(getDashboardContext()));

        if (settings.getBool(CUSTOMIZE_HIDE_BASELINE))
View Full Code Here

            throw new TinyCGIException(404, "Not Found",
                                       "No such task/schedule");
       
        EVTaskFilter taskFilter = settings.getEffectiveFilter(evModel);
       
        EVDependencyCalculator depCalc = new EVDependencyCalculator(
                getDataRepository(), getPSPProperties(), getObjectCache());
        evModel.setDependencyCalculator(depCalc);
        evModel.setTaskLabeler(new DefaultTaskLabeler(getDashboardContext()));
       
        evModel.recalc();
View Full Code Here

TOP

Related Classes of net.sourceforge.processdash.ev.EVDependencyCalculator$StatusCollector

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.