Package org.apache.maven.surefire.report
Class ReporterConfiguration
java.lang.Object
org.apache.maven.surefire.report.ReporterConfiguration
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
Todo: Consider moving these fields elsewhere, this concept does not smell too good
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PrintStream
private final File
private final boolean
A non-null Boolean value -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe original system out belonging to the (possibly forked) surefire process.The directory where reports will be created, normally ${project.build.directory}/surefire-reportsboolean
Indicates if reporting should trim the stack traces.
-
Field Details
-
reportsDirectory
-
originalSystemOut
-
trimStackTrace
private final boolean trimStackTraceA non-null Boolean value
-
-
Constructor Details
-
ReporterConfiguration
-
-
Method Details
-
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
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.
-