class DefaultReporterFormat extends ReporterFormat
Default format for reporter.
- Alphabetic
- By Inheritance
- DefaultReporterFormat
- ReporterFormat
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Type Members
- implicit class MyPosition extends AnyRef
- Attributes
- protected
- Definition Classes
- ReporterFormat
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def colorFor(problem: Problem): String
Retrieves the right color to use for
problem
based on Severity.Retrieves the right color to use for
problem
based on Severity.- problem
The problem to show.
- returns
The ANSI string to set the right color.
- Attributes
- protected
- Definition Classes
- ReporterFormat
- def colored(color: String, str: String): String
Shows
str
with colorcolor
if the reporter is configured withcolors = true
.Shows
str
with colorcolor
if the reporter is configured withcolors = true
.- color
The color to use
- str
The string to color.
- returns
The colored string if
colors = true
,str
otherwise.
- Attributes
- protected
- Definition Classes
- ReporterFormat
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def extraSpace(severity: Severity): String
Returns spaces to fix alignment given the
severity
.Returns spaces to fix alignment given the
severity
.- Attributes
- protected
- Definition Classes
- ReporterFormat
- def formatMessage(problem: Problem): Option[String]
- Attributes
- protected
- def formatProblem(problem: Problem): String
Returns a string representation of
Problem
, as it should be shown by the reporter.Returns a string representation of
Problem
, as it should be shown by the reporter.- problem
The problem to format.
- returns
A string representation of the problem.
- Definition Classes
- DefaultReporterFormat → ReporterFormat
- def formatSource(problem: Problem): Option[String]
- Attributes
- protected
- Annotations
- @nowarn()
- def formatSourcePath(problem: Problem): Option[String]
- Attributes
- protected
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def prefixed(prefixColor: String, prefix: String, paragraph: String): String
Put a prefix
prefix
at the beginning ofparagraph
, indents all lines.Put a prefix
prefix
at the beginning ofparagraph
, indents all lines.- prefix
The prefix to insert.
- paragraph
The block of text to prefix and indent.
- returns
The prefixed and indented paragraph.
- Attributes
- protected
- Definition Classes
- ReporterFormat
- def printSummary(): Unit
Prints a summary of all the errors reporter to the logger.
Prints a summary of all the errors reporter to the logger.
- Definition Classes
- DefaultReporterFormat → ReporterFormat
- def showPath(file: File): Option[String]
Returns the absolute path of
file
withcwd
stripped, if the reporter if configured withshortenPaths = true
.Returns the absolute path of
file
withcwd
stripped, if the reporter if configured withshortenPaths = true
.- file
The file whose path to show.
- returns
The absolute path of
file
withcwd
stripped ifshortenPaths = true
, or the original path otherwise.
- Attributes
- protected
- Definition Classes
- ReporterFormat
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toOption[T](m: Optional[T]): Option[T]
- Attributes
- protected
- Definition Classes
- ReporterFormat
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)