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(IContext context, IResultSet result, Map<String,Object> model)
          Add information to the reporter.
 String partial(SRServices services)
          Short information about report.
 void report(SRServices services)
          Dump report information.
 
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(IContext context,
                    IResultSet result,
                    Map<String,Object> model)
Description copied from interface: IReporter
Add information to the reporter.

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

partial

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

Specified by:
partial 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 © 2015. All rights reserved.