org.hudsonci.maven.eventspy_30
Class EventSpyProcessor

java.lang.Object
  extended by org.hudsonci.utils.event.EventProcessorSupport<EventSpyHandler.HandlerContext,EventSpyHandler>
      extended by org.hudsonci.maven.eventspy_30.EventSpyProcessor
All Implemented Interfaces:
EventProcessor<EventSpyHandler.HandlerContext>

public class EventSpyProcessor
extends EventProcessorSupport<EventSpyHandler.HandlerContext,EventSpyHandler>

EventSpy event processor.

Since:
2.1.0
Author:
Jason Dillon

Field Summary
 
Fields inherited from class org.hudsonci.utils.event.EventProcessorSupport
log
 
Constructor Summary
EventSpyProcessor(List<EventSpyHandler> handlers, EventSpyHandler defaultHandler)
           
 
Method Summary
protected  void onFailure(Exception cause)
           
 void process(Object event)
           
 
Methods inherited from class org.hudsonci.utils.event.EventProcessorSupport
getDefaultHandler, getEventHandler, getHandlers, init, setDefaultHandler, setHandlers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventSpyProcessor

public EventSpyProcessor(List<EventSpyHandler> handlers,
                         EventSpyHandler defaultHandler)
Method Detail

process

public void process(Object event)
             throws Exception
Specified by:
process in interface EventProcessor<EventSpyHandler.HandlerContext>
Overrides:
process in class EventProcessorSupport<EventSpyHandler.HandlerContext,EventSpyHandler>
Throws:
Exception

onFailure

protected void onFailure(Exception cause)
                  throws Exception
Overrides:
onFailure in class EventProcessorSupport<EventSpyHandler.HandlerContext,EventSpyHandler>
Throws:
Exception


Copyright © 2004-2011 Hudson. All Rights Reserved.