org.apache.maven.surefire.report
Class ReporterConfiguration

java.lang.Object
  extended by org.apache.maven.surefire.report.ReporterConfiguration

public class ReporterConfiguration
extends Object

Bits and pieces of reporting configuration that seem to be necessary on the provider side.

Todo: Consider moving these fields elsewhere, this concept does not smell too good

Author:
Kristian Rosenvold

Constructor Summary
ReporterConfiguration(File reportsDirectory, Boolean trimStackTrace)
           
 
Method Summary
 PrintStream getOriginalSystemOut()
          The original system out belonging to the (possibly forked) surefire process.
 File getReportsDirectory()
          The directory where reports will be created, normally ${project.build.directory}/surefire-reports
 Boolean isTrimStackTrace()
          Indicates if reporting should trim the stack traces.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReporterConfiguration

public ReporterConfiguration(File reportsDirectory,
                             Boolean trimStackTrace)
Method Detail

getReportsDirectory

public File getReportsDirectory()
The directory where reports will be created, normally ${project.build.directory}/surefire-reports

Returns:
A file pointing at the specified directory

isTrimStackTrace

public Boolean isTrimStackTrace()
Indicates if reporting should trim the stack traces.

Returns:
true if stacktraces should be trimmed in reporting

getOriginalSystemOut

public PrintStream getOriginalSystemOut()
The original system out belonging to the (possibly forked) surefire process. Note that users of Reporter/ReporterFactory should normally not be using this.

Returns:
A printstream.


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.