gerrithudsontrigger/src/main/java/com/sonyericsson/hudson/plugins/gerrit/trigger/PluginImpl.java
/**
     * Adds the given event to the stream of events.
     * It gets added to the same event queue as any event coming from the stream-events command in Gerrit.
     *
     * @param event the event.
     * @see GerritHandler#triggerEvent(com.sonyericsson.hudson.plugins.gerrit.gerritevents.dto.GerritEvent)
     */
Adds the given event to the stream of events.
It gets added to the same event queue as any event coming from the stream-events command in Gerrit.

@param event the event.
Adds the given event to the stream of events . It gets added to the same event queue as any event coming from the stream - events command in Gerrit . @param event the event .
public void triggerEvent(GerritEvent event) {
        if (gerritEventManager != null) {
            gerritEventManager.triggerEvent(event);
        } else {
            throw new IllegalStateException("Manager not started!");
        }
    }
public void triggerEvent ( GerritEvent event ) { if ( gerritEventManager != null ) { gerritEventManager . triggerEvent ( event ) ; } else { throw new IllegalStateException ( "Manager not started!" ) ; } }
Adds the given event to the stream of events.
Adds the given event to the stream of events .