Package net.sf.jmd.report

Examples of net.sf.jmd.report.IReporter


    }
   
//  report___________________________________________________________________
    public void report(IReport report, MoDi.ReportStyle reportStyle) {
        log.debug("creating reporter for style: " + reportStyle);
        IReporter reporter = ReporterFactory.create(reportStyle);
       
        log.debug("reporter: " + reporter);
        reporter.report(report);

    }
View Full Code Here


        report.setDate(new Date(System.currentTimeMillis()));
        report.add(diffHigh);
        report.add(diffMedium);
        report.add(diffLow);

        IReporter htmlReporter = ReporterFactory.create(ReportStyle.HTML);
        htmlReporter.report(report);// the report is now stored on the harddrive
       
        return report;
    }
View Full Code Here

           
            //compare,
            IReport report = modi.evaluate();
           
            //communicate!
            IReporter reporter = ReporterFactory.create(MoDi.ReportStyle.CONSOLE);
            reporter.report(report);
           
        } catch (MoDiException e) {
            throw new BuildException(e.getMessage());
        }
    }
View Full Code Here

        report.setDate(new Date(System.currentTimeMillis()));
        report.add(diffHigh);
        report.add(diffMedium);
        report.add(diffLow);

        IReporter htmlReporter = ReporterFactory.create(ReportStyle.HTML);
        htmlReporter.report(report);// the report is now stored on the harddrive
       
        return report;
    }
View Full Code Here

    }
   
//  report___________________________________________________________________
    public void report(IReport report, MoDi.ReportStyle reportStyle) {

        IReporter reporter = ReporterFactory.create(reportStyle);
        reporter.report(report);

    }
View Full Code Here

            //compare,
            IReport report = modi.evaluate();
            log("got report: " + report);
           
            //communicate!
            IReporter reporter = setUpReporter();
           
            log("reporting ...");
            reporter.report(report);
            log("... done reporting.");
           
        } catch (MoDiException e) {
            throw new BuildException(e.getMessage());
        } catch (Exception e) {
View Full Code Here

TOP

Related Classes of net.sf.jmd.report.IReporter

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.