public class ListBasedDiagnosticConsumer extends Object implements IDiagnosticConsumer
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ListBasedDiagnosticConsumer.Internal |
| Constructor and Description |
|---|
ListBasedDiagnosticConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
consume(Diagnostic diagnostic,
Severity severity) |
List<Diagnostic> |
getResult(Severity severity) |
boolean |
hasConsumedDiagnostics(Severity severity) |
public void consume(Diagnostic diagnostic, Severity severity)
consume in interface IDiagnosticConsumerseverity - the severity of the diagnostic. May neither be null or Severity.INFO.public boolean hasConsumedDiagnostics(Severity severity)
hasConsumedDiagnostics in interface IDiagnosticConsumerseverity - the severity of the diagnostic. May neither be null or Severity.INFO.public List<Diagnostic> getResult(Severity severity)
Copyright © 2015. All Rights Reserved.