org.specrunner.report.core
Class ReporterGroupImpl

java.lang.Object
  extended by org.specrunner.util.composite.core.CompositeImpl<IReporterGroup,IReporter>
      extended by org.specrunner.report.core.ReporterGroupImpl
All Implemented Interfaces:
IReporter, IReporterGroup, IComposite<IReporterGroup,IReporter>

public class ReporterGroupImpl
extends CompositeImpl<IReporterGroup,IReporter>
implements IReporterGroup

Default reporter group implementation.

Author:
Thiago Santos

Constructor Summary
ReporterGroupImpl()
           
 
Method Summary
 void analyse(IResultSet result, Map<String,Object> model)
          Add information to the reporter.
 void report(SRServices services)
          Dump report information.
 String resume(SRServices services)
          Short information about report.
 
Methods inherited from class org.specrunner.util.composite.core.CompositeImpl
add, getChildren, isEmpty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.specrunner.util.composite.IComposite
add, getChildren, isEmpty
 

Constructor Detail

ReporterGroupImpl

public ReporterGroupImpl()
Method Detail

analyse

public void analyse(IResultSet result,
                    Map<String,Object> model)
Description copied from interface: IReporter
Add information to the reporter.

Specified by:
analyse in interface IReporter
Parameters:
result - The result.
model - The model.

resume

public String resume(SRServices services)
Description copied from interface: IReporter
Short information about report.

Specified by:
resume in interface IReporter
Parameters:
services - The services instance to be used. This is required, since report is made on shutdown process, where SRServices.get() is not available.
Returns:
A partial version of resume.

report

public void report(SRServices services)
Description copied from interface: IReporter
Dump report information.

Specified by:
report in interface IReporter
Parameters:
services - The services instance to be used. This is required, since report is made on shutdown process, where SRServices.get() is not available.


Copyright © 2014. All rights reserved.