net.sourceforge.cruisecontrol.sourcecontrols
Class AllFusionHarvest.MyLogStreamListener

java.lang.Object
  extended bynet.sourceforge.cruisecontrol.sourcecontrols.AllFusionHarvest.MyLogStreamListener
Enclosing class:
AllFusionHarvest

public class AllFusionHarvest.MyLogStreamListener
extends java.lang.Object

This class implements a Harvest log stream listener and takes messages from Harvest and gives them appropriate log levels in the Log4J stream for the AllFusionHarvest sourcecontrol. Without this class you would not see errors from Harvest, nor would warnings and info messages be handled correctly.

Author:
Trinem Consulting Ltd

Constructor Summary
AllFusionHarvest.MyLogStreamListener()
           
 
Method Summary
 void handleMessage(java.lang.String message)
          Takes the given message from Harvest, figures out its severity and reports it back to CruiseControl.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllFusionHarvest.MyLogStreamListener

public AllFusionHarvest.MyLogStreamListener()
Method Detail

handleMessage

public void handleMessage(java.lang.String message)
Takes the given message from Harvest, figures out its severity and reports it back to CruiseControl.

Parameters:
message - The message to process.