org.anadix
Interface Report

All Known Implementing Classes:
ReportImpl

public interface Report

Class aggregating ReportItem instances from analysis in collections grouped by their status. Also enables to get simple textual report. Please note that it should be used for debug purposes only!

Version:
$Id: $
Author:
tomason

Method Summary
 List<ReportItem> getErrors()
          Lists all elements with critical errors.
 List<ReportItem> getInfos()
          Lists all information items
 List<ReportItem> getManuals()
          Lists all elements that require manual check
 List<ReportItem> getOks()
          Lists all elements that are all right.
 Source getSource()
          Gets the Source this report was generated for
 List<ReportItem> getWarnings()
          Lists all elements that have non-critical errors.
 String report()
          Creates a simple format String that lists all ReportItems resulting from single analysis.
 

Method Detail

getOks

List<ReportItem> getOks()
Lists all elements that are all right. Note that not all ConditionSets insert ReportItems without mistakes!

Returns:
list of ReportItem that have OK status

getWarnings

List<ReportItem> getWarnings()
Lists all elements that have non-critical errors. Note that not all ConditionSets insert ReportItems with minor mistakes!

Returns:
list of ReportItem that have WARNING status

getErrors

List<ReportItem> getErrors()
Lists all elements with critical errors.

Returns:
list of ReportItem that have ERROR status

getManuals

List<ReportItem> getManuals()
Lists all elements that require manual check

Returns:
list of ReportItems that have MANUAL status

getInfos

List<ReportItem> getInfos()
Lists all information items

Returns:
list of ReportItems that have INFO status

report

String report()
Creates a simple format String that lists all ReportItems resulting from single analysis. Please note that this format should be used for debugging only!

Returns:
string representation of this instance

getSource

Source getSource()
Gets the Source this report was generated for

Returns:
Source this Report was generated from


Copyright © 2011. All Rights Reserved.