|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.reports.AbstractPropertyReport
@NotThreadSafe public abstract class AbstractPropertyReport
Writes each report to a file.
Constructor Summary | |
---|---|
protected |
AbstractPropertyReport() Default constructor. |
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. |
boolean |
hasProblems() Checks if there are reported problems. |
protected void |
register(PropertyReportItem item) Registers a report item to manage the alias mapping and check for uniqueness constraint violations. |
void |
traverseAliases(AliasTraverser traverser) Allows to traverse the collected aliases. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.smartics.properties.report.data.PropertyReport |
---|
handle |
Constructor Detail |
---|
protected AbstractPropertyReport()
Method Detail |
---|
public final List<ReportProblem> getProblems()
getProblems
in interface
PropertyReport
PropertyReport.getProblems()
public final void addProblem(ReportProblem problem)
addProblem
in interface
PropertyReport
problem
- a description to the problem encountered.
PropertyReport.addProblem(de.smartics.properties.report.data.ReportProblem)
public final boolean hasProblems()
hasProblems
in interface
PropertyReport
true
if at least one report problem is reported,
false
if there are none.
PropertyReport.hasProblems()
public final void traverseAliases(AliasTraverser traverser)
traverseAliases
in interface
PropertyReport
traverser
- the traverser to traverse the aliases.
PropertyReport.traverseAliases(de.smartics.properties.api.core.context.alias.AliasTraverser)
public void handle(PropertyReportItem item) throws ReportException
Registers a report item to manage the alias mapping and check for uniqueness constraint violations.
handle
in interface
PropertyReport
item
- the report item to handle.
ReportException
- on any problem that prevents the report to digest the given item.
PropertyReport.handle(de.smartics.properties.report.data.PropertyReportItem)
protected final void register(PropertyReportItem item)
item
- the report item to manage.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |