Skip to content

Package io.github.qishr.cascara.common.diagnostic

Class SilentCollectingReporter

java.lang.Object
        io.github.qishr.cascara.common.diagnostic.AbstractReporter<io.github.qishr.cascara.common.diagnostic.SilentCollectingReporter>
                io.github.qishr.cascara.common.diagnostic.SilentCollectingReporter


public class SilentCollectingReporter
extends AbstractReporter<SilentCollectingReporter>

Constructor Summary

Constructor Description
SilentCollectingReporter()

Method Summary

Modifier and Type Method Description
public boolean hasErrors()
protected SilentCollectingReporter self()
public boolean collectsProblems()
public boolean isSilent()
protected void report(Diagnostic diagnostic)
protected void writeString(Diagnostic diagnostic)
protected String formatMessage(Diagnostic diagnostic, String line, int lineNumber, boolean useColoring)

Methods inherited from AbstractReporter

errorAt, setStackTraceEnabled, setPrefixEveryLine, reportsDebug, buildDiagnostic, reportsTrace, infoAt, isProblem, errorAt, error, errorAt, warnAt, warnAt, setFlushEnabled, warn, displayLine, logLine, buildDiagnostic, errorAt, warnAt, isStackTraceEnabled, errorAt, setDiagnosticConsumer, info, getLevel, isSystemOutputEnabled, trace, setShowProblemCodes, debug, warnAt, errorAt, infoAt, setSystemErrorEnabled, infoAt, errorAt, setProblemConsumer, error, getLineConsumer, setLineConsumer, setAnsiColoringEnabled, warnAt, getProblemConsumer, setSystemOutputEnabled, buildDiagnostic, errorAt, isFlushEnabled, getWriter, getDiagnosticConsumer, error, buildDiagnostic, errorAt, setLevel

Method Details

hasErrors

public boolean hasErrors()


self

protected SilentCollectingReporter self()

Overrides:

AbstractReporter


collectsProblems

public boolean collectsProblems()

Overrides:

AbstractReporter


isSilent

public boolean isSilent()

Overrides:

AbstractReporter


report

protected void report(Diagnostic diagnostic)

Overrides:

AbstractReporter


writeString

protected void writeString(Diagnostic diagnostic)

Overrides:

AbstractReporter


formatMessage

protected String formatMessage(Diagnostic diagnostic, String line, int lineNumber, boolean useColoring)

Overrides:

AbstractReporter