public class JenkinsAwareGerritHandler
extends com.sonymobile.tools.gerrit.gerritevents.GerritHandler
Constructor and Description |
---|
JenkinsAwareGerritHandler(int numberOfWorkerThreads)
Standard Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected com.sonymobile.tools.gerrit.gerritevents.workers.EventThread |
createEventThread(String threadName)
Here we override the EventThread creation with
one that impersonates System.
|
void |
notifyListeners(com.sonymobile.tools.gerrit.gerritevents.dto.GerritEvent event) |
addEventListeners, addEventListeners, addListener, getEventListenersCount, getIgnoreEMail, getNumberOfWorkerThreads, getWorkQueue, post, post, post, post, post, removeAllEventListeners, removeListener, setIgnoreEMail, setNumberOfWorkerThreads, shutdown, triggerEvent
public JenkinsAwareGerritHandler(int numberOfWorkerThreads)
numberOfWorkerThreads
- the number of event threads.protected com.sonymobile.tools.gerrit.gerritevents.workers.EventThread createEventThread(String threadName)
createEventThread
in class com.sonymobile.tools.gerrit.gerritevents.GerritHandler
threadName
- name of thread.public void notifyListeners(com.sonymobile.tools.gerrit.gerritevents.dto.GerritEvent event)
notifyListeners
in interface com.sonymobile.tools.gerrit.gerritevents.workers.Coordinator
notifyListeners
in class com.sonymobile.tools.gerrit.gerritevents.GerritHandler
Copyright © 2004-2015. All Rights Reserved.