de.smartics.maven.exceptions.report
Class CodeSortedSinkReportGenerator

Package class diagram package CodeSortedSinkReportGenerator
java.lang.Object
  extended by de.smartics.exceptions.report.generator.AbstractReportGenerator<O>
      extended by de.smartics.exceptions.report.generator.AbstractOutputReportGenerator<org.apache.maven.doxia.sink.Sink>
          extended by de.smartics.maven.exceptions.AbstractSinkReportGenerator
              extended by de.smartics.maven.exceptions.report.CodeSortedSinkReportGenerator
All Implemented Interfaces:
de.smartics.exceptions.report.generator.ReportGenerator<org.apache.maven.doxia.sink.Sink>

public class CodeSortedSinkReportGenerator
     
     
extends AbstractSinkReportGenerator

Simple generator that generates with a Maven sink. The codes are sorted by the major/minor/micro number code only. The component ID is not considered for sorting.


Field Summary
 
Fields inherited from class de.smartics.exceptions.report.generator.AbstractReportGenerator
encoding, output, renderer
 
Fields inherited from interface de.smartics.exceptions.report.generator.ReportGenerator
DEFAULT_ENCODING
 
Constructor Summary
CodeSortedSinkReportGenerator()
          Default constructor.
 
Method Summary
protected  String getCodeTitle(String headLine, de.smartics.exceptions.report.data.ExceptionCodeReportItem item)
           
protected  String getCurrentSelection(de.smartics.exceptions.report.data.ExceptionCodeReportItem item)
           
protected  List<de.smartics.exceptions.report.data.ExceptionCodeReportItem> getItems(de.smartics.exceptions.report.data.StoredExceptionCodesReport report)
           
protected  boolean hasSectionChanged(String currentSection, de.smartics.exceptions.report.data.ExceptionCodeReportItem item)
           
 
Methods inherited from class de.smartics.maven.exceptions.AbstractSinkReportGenerator
renderPlaceholderInfo, writeContent, writeFooter, writeInfoFooter, writeInfoHeader, writeInfoSubFooter, writeInfoSubHeader, writeReportElementInfo, writeTableHeader
 
Methods inherited from class de.smartics.exceptions.report.generator.AbstractOutputReportGenerator
write, writeHeader
 
Methods inherited from class de.smartics.exceptions.report.generator.AbstractReportGenerator
getEncoding, getOutput, setEncoding, setOutput, writeReport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeSortedSinkReportGenerator

public CodeSortedSinkReportGenerator()
Default constructor.

Method Detail

getItems

protected List<de.smartics.exceptions.report.data.ExceptionCodeReportItem> getItems(de.smartics.exceptions.report.data.StoredExceptionCodesReport report)
Specified by:
getItems in class de.smartics.exceptions.report.generator.AbstractOutputReportGenerator<org.apache.maven.doxia.sink.Sink>

getCurrentSelection

protected String getCurrentSelection(de.smartics.exceptions.report.data.ExceptionCodeReportItem item)
Specified by:
getCurrentSelection in class de.smartics.exceptions.report.generator.AbstractOutputReportGenerator<org.apache.maven.doxia.sink.Sink>

hasSectionChanged

protected boolean hasSectionChanged(String currentSection,
                                    de.smartics.exceptions.report.data.ExceptionCodeReportItem item)
Specified by:
hasSectionChanged in class de.smartics.exceptions.report.generator.AbstractOutputReportGenerator<org.apache.maven.doxia.sink.Sink>

getCodeTitle

protected String getCodeTitle(String headLine,
                              de.smartics.exceptions.report.data.ExceptionCodeReportItem item)
Specified by:
getCodeTitle in class de.smartics.exceptions.report.generator.AbstractOutputReportGenerator<org.apache.maven.doxia.sink.Sink>


Copyright © 2007-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.