de.smartics.exceptions.report
Class AbstractBuilder

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

@NotThreadSafe
public abstract class AbstractBuilder
     
     
extends Object

Base implementation for searching the source path for relevant elements.


Field Summary
protected  ReportConfiguration configuration
          The configuration to control the generation of the report.
protected  com.thoughtworks.qdox.library.ErrorHandler errorHandler
          The error handler to log parsing problems.
protected  com.thoughtworks.qdox.JavaProjectBuilder javaProjectBuilder
          The parser of the Java sources.
protected  List<ReportProblem> problems
          The list of problems encountered while parsing sources and fetching report information.
protected  RuntimeUtils runtimeUtils
          Utils to instantiate classes.
 
Constructor Summary
protected AbstractBuilder(ReportConfiguration configuration)
          Default constructor.
 
Method Summary
 ReportConfiguration getConfiguration()
          Returns the configuration to control the generation of the report.
protected  void notifyOfParseProblems(ExceptionCodesReport report)
          Adds reported problems to the report.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

configuration

protected final ReportConfiguration configuration
The configuration to control the generation of the report.


javaProjectBuilder

protected final com.thoughtworks.qdox.JavaProjectBuilder javaProjectBuilder
The parser of the Java sources.


errorHandler

protected final com.thoughtworks.qdox.library.ErrorHandler errorHandler
The error handler to log parsing problems.


problems

protected final List<ReportProblem> problems
The list of problems encountered while parsing sources and fetching report information.


runtimeUtils

protected final RuntimeUtils runtimeUtils
Utils to instantiate classes.

Constructor Detail

AbstractBuilder

protected AbstractBuilder(ReportConfiguration configuration)
Default constructor.

Parameters:
configuration - the configuration to control the generation of the report.
Method Detail

getConfiguration

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

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

notifyOfParseProblems

protected final void notifyOfParseProblems(ExceptionCodesReport report)
Adds reported problems to the report.

Parameters:
report - the report to report problems to.


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