|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValidationReportBuilder
The report interface is used to generate diagnostics about validation.
Method Summary | |
---|---|
ValidationReport |
getReport()
|
void |
reportFixError(Fix f,
Exception e,
String msg)
Reports an error occurred while executing a Fix . |
void |
reportIssue(ValidationReport.IssueLevel issueLevel,
String message)
Reports a detected issue. |
void |
reportIssue(ValidationReport.IssueLevel issueLevel,
String message,
Node n)
Reports an issue detected on a specified node. |
void |
reportRuleError(Rule r,
Exception e,
String msg)
Reports an error occurred while executing a Rule . |
void |
traceRuleActivation(Rule r)
Traces that a rule has been applied. |
Method Detail |
---|
ValidationReport getReport()
void reportIssue(ValidationReport.IssueLevel issueLevel, String message, Node n)
issueLevel
- issue level classifier.message
- human readable message connected to the issue.n
- the node affected by the issue.void reportIssue(ValidationReport.IssueLevel issueLevel, String message)
issueLevel
- issue level classifier.message
- human readable message connected to the issue.void traceRuleActivation(Rule r)
r
- activated rule.void reportRuleError(Rule r, Exception e, String msg)
Rule
.
r
- rule originating the error.e
- exception raised.msg
- human readable message.void reportFixError(Fix f, Exception e, String msg)
Fix
.
f
- fix originating the error.e
- exception raised.msg
- human readable message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |