Package net.sourceforge.processdash.log.time

Examples of net.sourceforge.processdash.log.time.TimeLog


        schedule.setLevelOfEffort(levelOfEffort);
        schedule.cleanUp();
        schedule.recalcCumPlanTimes();

        // find time logged to tasks before the start of the schedule.
        TimeLog log = timeLog;
        try {
            if (rezeroAtStartDate)
                saveActualPreTime(log);
        } catch (IOException ioe) {
            ioe.printStackTrace();
View Full Code Here


        else
            writeHtml(timeLogEntries);
    }

    private List getTimeLogEntries() throws IOException {
        TimeLog tl;
        String type = getParameter("type");
        if ("rollup".equals(type))
            tl = new RolledUpTimeLog.FromResultSet(getDashboardContext(),
                    getPrefix(), parameters);
        else
            tl = getDashboardContext().getTimeLog();
        List l = Collections.list(tl.filter(getPrefix(), null, null));
        Collections.sort(l);
        return l;
    }
View Full Code Here

            DashController.showTimeLogEditor(getPrefix());
        DashController.printNullDocument(out);
    }

    private void showRollupTimeLog() {
        TimeLog tl = new RolledUpTimeLog.FromResultSet(getDashboardContext(),
                getPrefix(), parameters);
        TimeLogEditor e = new TimeLogEditor(tl, getAugmentedHierarchy(), null,
                null);
       
        if (parameters.containsKey(
View Full Code Here

            }

            ctx.getData().dumpRepository(out, filter,
                    DataRepository.DUMP_STYLE_TEXT);

            TimeLog tl = ctx.getTimeLog();
            Iterator keys = tl.filter(null, null, null);
            while (keys.hasNext()) {
                TimeLogEntry tle = (TimeLogEntry) keys.next();
                if (Filter.matchesFilter(filter, tle.getPath()))
                    out.println(toAbbrevString(tle));
            }
View Full Code Here

    }


    private List getTimeLogEntries() {
        String path = getPrefix();
        TimeLog tl = getDashboardContext().getTimeLog();
        List result;
        try {
            result = Collections.list(tl.filter(path, null, null));
            Collections.sort(result);
        } catch (IOException e) {
            e.printStackTrace();
            result = Collections.EMPTY_LIST;
        }
View Full Code Here

TOP

Related Classes of net.sourceforge.processdash.log.time.TimeLog

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.