c

sbt.internal.inc

FilteredReporter

class FilteredReporter extends LoggedReporter

Defines a filtered reporter to control which messages are reported or not.

This implementation has been adapted from the Pants repository.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FilteredReporter
  2. LoggedReporter
  3. Reporter
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FilteredReporter(fileFilters: Array[(Path) ⇒ Boolean], msgFilters: Array[(String) ⇒ Boolean], maximumErrors: Int, logger: Logger, positionMapper: (Position) ⇒ Position)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. lazy val allProblems: ListBuffer[Problem]
    Attributes
    protected
    Definition Classes
    LoggedReporter
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def comment(pos: Position, msg: String): Unit

    Report a comment.

    Report a comment.

    Definition Classes
    LoggedReporterReporter
  8. lazy val count: EnumMap[Severity, Int]
    Definition Classes
    LoggedReporter
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def hasErrors(): Boolean

    Check whether the logger has received any error since last reset.

    Check whether the logger has received any error since last reset.

    Definition Classes
    LoggedReporterReporter
  14. def hasWarnings(): Boolean

    Check whether the logger has received any warning since last reset.

    Check whether the logger has received any warning since last reset.

    Definition Classes
    LoggedReporterReporter
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def log(problem: Problem): Unit

    Redefines display so that non-error messages are filtered.

    Redefines display so that non-error messages are filtered.

    Problems are filtered out when they happen in a file that matches the regex in fileFilters or when the content of the messages contain msgFilters.

    Problems that are filtered are not logged with the underlying logger but they are still registered as problems so that users of problems() receive them.

    Definition Classes
    FilteredReporterLoggedReporterReporter
  18. def logError(problem: Problem): Unit
    Attributes
    protected
    Definition Classes
    LoggedReporter
  19. def logInfo(problem: Problem): Unit
    Attributes
    protected
    Definition Classes
    LoggedReporter
  20. def logWarning(problem: Problem): Unit
    Attributes
    protected
    Definition Classes
    LoggedReporter
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  24. lazy val positions: HashMap[PositionKey, Severity]
    Definition Classes
    LoggedReporter
  25. def printSummary(): Unit

    Log a summary of the received output since the last reset.

    Log a summary of the received output since the last reset.

    Definition Classes
    LoggedReporterReporter
  26. def problems(): Array[Problem]

    Return a list of warnings and errors since the last reset.

    Return a list of warnings and errors since the last reset.

    Definition Classes
    LoggedReporterReporter
  27. def reset(): Unit

    Reset logging and any accumulated error, warning, message or count.

    Reset logging and any accumulated error, warning, message or count.

    Definition Classes
    LoggedReporterReporter
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LoggedReporter

Inherited from Reporter

Inherited from AnyRef

Inherited from Any

Ungrouped