private void addThisTriggerAsListener(AbstractProject project) {
PluginImpl plugin = PluginImpl.getInstance();
if (plugin != null) {
GerritHandler handler = plugin.getHandler();
if (handler != null) {
handler.addListener(this);
} else {
logger.warn("The plugin has no handler instance (BUG)! Project {} will not be triggered!",
project.getFullDisplayName());
}
} else {