org.apache.geronimo.mavenplugins.geronimo.reporting
Interface Reporter

All Known Implementing Classes:
SurefireReporter

public interface Reporter

Provides an asbtraction to allow pluggable report handling.

Version:
$Rev: 450613 $ $Date: 2006-09-27 15:45:46 -0700 (Wed, 27 Sep 2006) $

Method Summary
 void reportBegin(Reportable source)
          Signals the start of a reporting run.
 void reportEnd()
          Called after the goal has run (with or with-out errors).
 void reportError(Throwable cause)
          Called when a failure has occured while executing a goal.
 

Method Detail

reportBegin

public void reportBegin(Reportable source)
Signals the start of a reporting run. This method should collect the required information.

Parameters:
source - The source of the report; must not be null.

reportError

public void reportError(Throwable cause)
Called when a failure has occured while executing a goal.

Parameters:
cause - The cause of the error; must not be null.

reportEnd

public void reportEnd()
Called after the goal has run (with or with-out errors).



Copyright © 2006 Apache Software Foundation. All Rights Reserved.