class DefaultSettingsProblemCollector extends java.lang.Object implements SettingsProblemCollector
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<SettingsProblem> |
problems |
private java.lang.String |
source |
| Constructor and Description |
|---|
DefaultSettingsProblemCollector(java.util.List<SettingsProblem> problems) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(SettingsProblem.Severity severity,
java.lang.String message,
int line,
int column,
java.lang.Exception cause)
Adds the specified problem.
|
java.util.List<SettingsProblem> |
getProblems() |
void |
setSource(java.lang.String source) |
private java.util.List<SettingsProblem> problems
private java.lang.String source
DefaultSettingsProblemCollector(java.util.List<SettingsProblem> problems)
public java.util.List<SettingsProblem> getProblems()
public void setSource(java.lang.String source)
public void add(SettingsProblem.Severity severity, java.lang.String message, int line, int column, java.lang.Exception cause)
SettingsProblemCollectoradd in interface SettingsProblemCollectorseverity - The severity of the problem, must not be null.message - The detail message of the problem, may be null.line - The one-based index of the line containing the problem or -1 if unknown.column - The one-based index of the column containing the problem or -1 if unknown.cause - The cause of the problem, may be null.