|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyReport
Sink to accept report items. Implementations may either store that information in memory or write it to a store.
Method Summary | |
---|---|
void |
addProblem(ReportProblem problem) Reports a problem encountered while analyzing for report items. |
List<ReportProblem> |
getProblems() Returns the list of problems encountered while parsing sources and fetching report information. |
void |
handle(PropertyReportItem item) Passes a report item to the report. |
void |
handle(PropertyReportSet reportSet) Passes a report set document information to the report. |
boolean |
hasProblems() Checks if there are reported problems. |
void |
traverseAliases(AliasTraverser traverser) Allows to traverse the collected aliases. |
Method Detail |
---|
void handle(PropertyReportSet reportSet) throws ReportException
reportSet
- the report set to handle.
ReportException
- on any problem that prevents the report to digest the given set.
void handle(PropertyReportItem item) throws ReportException
item
- the report item to handle.
ReportException
- on any problem that prevents the report to digest the given item.
void addProblem(ReportProblem problem)
problem
- a description to the problem encountered.
boolean hasProblems()
true
if at least one report problem is reported,
false
if there are none.
List<ReportProblem> getProblems()
void traverseAliases(AliasTraverser traverser)
traverser
- the traverser to traverse the aliases.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |