de.smartics.exceptions.report
Class ReportBuilder

Package class diagram package ReportBuilder
java.lang.Object
  extended by de.smartics.exceptions.report.AbstractBuilder
      extended by de.smartics.exceptions.report.ReportBuilder

@NotThreadSafe
public final class ReportBuilder
     
     
extends AbstractBuilder

Builder of reports on smartics exception codes.


Field Summary
 
Fields inherited from class de.smartics.exceptions.report.AbstractBuilder
configuration, errorHandler, javaProjectBuilder, problems, runtimeUtils
 
Method Summary
static ReportBuilder create(ReportConfiguration configuration)
          Factory method to create an instance of a report builder.
 void reportTo(ExceptionCodesReport report)
          Runs the report process and writes to the given report.
 
Methods inherited from class de.smartics.exceptions.report.AbstractBuilder
getConfiguration, notifyOfParseProblems
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static ReportBuilder create(ReportConfiguration configuration)
Factory method to create an instance of a report builder.

Parameters:
configuration - the configuration to control the generation of the report.
Returns:
the configured report builder.

reportTo

public void reportTo(ExceptionCodesReport report)
              throws de.smartics.util.lang.NullArgumentException
Runs the report process and writes to the given report.

Parameters:
report - the report to write to.
Throws:
de.smartics.util.lang.NullArgumentException - if report is null.


Copyright © 2007-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.