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);

    }
   
    public ReportStyle getReportStyle(String style) throws MoDiException {
        if (style == null || style.equals(""))
View Full Code Here


        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;
    }
   
    public static void main(String[] args) throws Exception {
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.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;
    }
   
    public static void main(String[] args) throws Exception {
View Full Code Here

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

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

    }
   
//  communicate_______________________________________________________________
    public void communicate(IReport report) throws MoDiException, EmailException {
View Full Code Here

           
            //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
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.