de.smartics.exceptions.report
Class ReportConfiguration

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

public final class ReportConfiguration
     
     
extends Object

Provides information to control the creation of the report.


Constructor Summary
ReportConfiguration()
          Default constructor.
 
Method Summary
 void addExcludes(List<String> excludes)
          Adds the excludes to the list of excludes.
 void addIncludes(List<String> includes)
          Adds the includes to the list of includes.
 void addSourceTree(File sourceTree)
          Adds the given source tree to the list of source tree.
 String getEncoding()
          Returns the encoding to use to read the source files.
 List<String> getExcludes()
          Returns the list of source files to be excluded from the set of resources that are to be parsed.
 List<String> getIncludes()
          Returns the list of source files to be included in the set of resources that are to be parsed.
 ClassLoader getProjectClassLoader()
          Returns the class loader to instantiate classes of the project.
 List<File> getSourceTrees()
          Returns the list of source trees to be added for parsing.
 void setEncoding(String encoding)
          Sets the encoding to use to read the source files.
 void setProjectClassLoader(ClassLoader projectClassLoader)
          Sets the class loader to instantiate classes of the project.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportConfiguration

public ReportConfiguration()
Default constructor.

Method Detail

getSourceTrees

public List<File> getSourceTrees()
Returns the list of source trees to be added for parsing.

Returns:
the list of source trees to be added for parsing.

getIncludes

public List<String> getIncludes()
Returns the list of source files to be included in the set of resources that are to be parsed.

Returns:
the list of source files to be included in the set of resources that are to be parsed.

getExcludes

public List<String> getExcludes()
Returns the list of source files to be excluded from the set of resources that are to be parsed.

Returns:
the list of source files to be excluded from the set of resources that are to be parsed.

getProjectClassLoader

public ClassLoader getProjectClassLoader()
Returns the class loader to instantiate classes of the project. The class loader is also required to instantiate classes from dependencies.

Returns:
the class loader to instantiate classes of the project.

setProjectClassLoader

public void setProjectClassLoader(ClassLoader projectClassLoader)
Sets the class loader to instantiate classes of the project. The class loader is also required to instantiate classes from dependencies.

Parameters:
projectClassLoader - the class loader to instantiate classes of the project.

getEncoding

public String getEncoding()
Returns the encoding to use to read the source files. Defaults to UTF-8.

Returns:
the encoding to use to read the source files.

setEncoding

public void setEncoding(String encoding)
Sets the encoding to use to read the source files. Defaults to UTF-8.

Parameters:
encoding - the encoding to use to read the source files.

addSourceTree

public void addSourceTree(File sourceTree)
                   throws de.smartics.util.lang.NullArgumentException
Adds the given source tree to the list of source tree.

Parameters:
sourceTree - the source tree to add.
Throws:
de.smartics.util.lang.NullArgumentException - if sourceTree is null.

addIncludes

public void addIncludes(List<String> includes)
Adds the includes to the list of includes.

Parameters:
includes - the source files to be added to the set of includes.

addExcludes

public void addExcludes(List<String> excludes)
Adds the excludes to the list of excludes.

Parameters:
excludes - the source files to be added to the set of excludes.


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