* Add this patches listener to the GerritServer object to which it is associated.
*/
private void addThisAsListener() {
GerritServer server = PluginImpl.getInstance().getServer(serverName);
if (server != null) {
server.addListener(this);
} else {
logger.error("Could not find server {}", serverName);
}
}