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

All Known Implementing Classes:
SurefireReporter

public interface Reporter

Provides an asbtraction to allow pluggable report handling.


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

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

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

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



Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.