public static interface DiagnosticFormatter.Configuration
Modifier and Type | Interface and Description |
---|---|
static class |
DiagnosticFormatter.Configuration.DiagnosticPart
A given diagnostic message can be divided into sub-parts each of which
might/might not be displayed by the formatter, according to the
current configuration settings.
|
static class |
DiagnosticFormatter.Configuration.MultilineLimit
A multiline limit control the verbosity of multiline diagnostics
either by setting a maximum depth of nested multidiagnostics,
or by limiting the amount of subdiagnostics attached to a given
diagnostic (or both).
|
Modifier and Type | Method and Description |
---|---|
int |
getMultilineLimit(DiagnosticFormatter.Configuration.MultilineLimit limit)
Get a multiline diagnostic limit.
|
Set<DiagnosticFormatter.Configuration.DiagnosticPart> |
getVisible()
Retrieve the set of diagnostic parts that should be displayed
by the formatter.
|
void |
setMultilineLimit(DiagnosticFormatter.Configuration.MultilineLimit limit,
int value)
Set a limit for multiline diagnostics.
|
void |
setVisible(Set<DiagnosticFormatter.Configuration.DiagnosticPart> visibleParts)
Configure the set of diagnostic parts that should be displayed
by the formatter.
|
void setVisible(Set<DiagnosticFormatter.Configuration.DiagnosticPart> visibleParts)
visibleParts
- the parts to be setSet<DiagnosticFormatter.Configuration.DiagnosticPart> getVisible()
void setMultilineLimit(DiagnosticFormatter.Configuration.MultilineLimit limit, int value)
limit
- the kind of limit to be setvalue
- the limit valueint getMultilineLimit(DiagnosticFormatter.Configuration.MultilineLimit limit)
limit
- the kind of limit to be retrievedCopyright © 2017 earcam. All rights reserved.