de.smartics.properties.report
Class ReportBuilder

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

@NotThreadSafe
public final class ReportBuilder
     
     
extends Object

Builder of reports on smartics properties.


Method Summary
static ReportBuilder create(ReportConfiguration configuration)
          Factory method to create an instance of a report builder.
 ReportConfiguration getConfiguration()
          Returns the configuration to control the generation of the report.
 void reportTo(PropertyReport report)
          Runs the report process and writes to the given report.
 
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.

getConfiguration

public ReportConfiguration getConfiguration()
Returns the configuration to control the generation of the report.

Returns:
the configuration to control the generation of the report.

reportTo

public void reportTo(PropertyReport 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 © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.