Class ReporterConfiguration


  • public class ReporterConfiguration
    extends java.lang.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
    • Constructor Summary

      Constructors 
      Constructor Description
      ReporterConfiguration​(java.io.File reportsDirectory, boolean trimStackTrace)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.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
    • Field Detail

      • reportsDirectory

        private final java.io.File reportsDirectory
      • trimStackTrace

        private final boolean trimStackTrace
    • Constructor Detail

      • ReporterConfiguration

        public ReporterConfiguration​(java.io.File reportsDirectory,
                                     boolean trimStackTrace)
    • Method Detail

      • getReportsDirectory

        public java.io.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