com.sonyericsson.hudson.plugins.gerrit.gerritevents.workers
Interface Coordinator

All Known Implementing Classes:
GerritHandler

public interface Coordinator

Representation interface of an EventThread workers coordinator.

Author:
Robert Sandell <robert.sandell@sonyericsson.com>

Method Summary
 BlockingQueue<Work> getWorkQueue()
          Retrieves the work queue for workers to poll.
 void notifyListeners(GerritEvent event)
          Notifies the listeners of a GerritEvent.
 

Method Detail

getWorkQueue

BlockingQueue<Work> getWorkQueue()
Retrieves the work queue for workers to poll.

Returns:
the queue

notifyListeners

void notifyListeners(GerritEvent event)
Notifies the listeners of a GerritEvent.

Parameters:
event - the event to fire.


Copyright © 2004-2012 Hudson. All Rights Reserved.