src/main/java/org/gitlab4j/api/webhook/WebHookManager.java
public void fireEvent(Event event) throws GitLabApiException {

        switch (event.getObjectKind()) {
        case BuildEvent.OBJECT_KIND:
            fireBuildEvent((BuildEvent) event);
            break;

        case IssueEvent.OBJECT_KIND:
            fireIssueEvent((IssueEvent) event);
            break;

        case MergeRequestEvent.OBJECT_KIND:
            fireMergeRequestEvent((MergeRequestEvent) event);
            break;

        case NoteEvent.OBJECT_KIND:
            fireNoteEvent((NoteEvent) event);
            break;

        case PipelineEvent.OBJECT_KIND:
            firePipelineEvent((PipelineEvent) event);
            break;

        case PushEvent.OBJECT_KIND:
            firePushEvent((PushEvent) event);
            break;

        case TagPushEvent.OBJECT_KIND:
            fireTagPushEvent((TagPushEvent) event);
            break;

        case WikiPageEvent.OBJECT_KIND:
            fireWikiPageEvent((WikiPageEvent) event);
            break;

        default:
            String message = "Unsupported event object_kind, object_kind=" + event.getObjectKind();
            LOGGER.warning(message);
            throw new GitLabApiException(message);
        }
    }
/**
     * Fire the event to the registered listeners.
     * 
     * @param event the Event instance to fire to the registered event listeners
     * @throws GitLabApiException if the event is not supported
     */
Fire the event to the registered listeners.

@param event the Event instance to fire to the registered event listeners
@throws GitLabApiException if the event is not supported
Fire the event to the registered listeners . @param event the Event instance to fire to the registered event listeners @throws GitLabApiException if the event is not supported
public void fireEvent(Event event) throws GitLabApiException {
        switch (event.getObjectKind()) {
        case BuildEvent.OBJECT_KIND:
            fireBuildEvent((BuildEvent) event);
            break;
        case IssueEvent.OBJECT_KIND:
            fireIssueEvent((IssueEvent) event);
            break;
        case MergeRequestEvent.OBJECT_KIND:
            fireMergeRequestEvent((MergeRequestEvent) event);
            break;
        case NoteEvent.OBJECT_KIND:
            fireNoteEvent((NoteEvent) event);
            break;
        case PipelineEvent.OBJECT_KIND:
            firePipelineEvent((PipelineEvent) event);
            break;
        case PushEvent.OBJECT_KIND:
            firePushEvent((PushEvent) event);
            break;
        case TagPushEvent.OBJECT_KIND:
            fireTagPushEvent((TagPushEvent) event);
            break;
        case WikiPageEvent.OBJECT_KIND:
            fireWikiPageEvent((WikiPageEvent) event);
            break;
        default:
            String message = "Unsupported event object_kind, object_kind=" + event.getObjectKind();
            LOGGER.warning(message);
            throw new GitLabApiException(message);
        }
    }
public void fireEvent ( Event event ) throws GitLabApiException { switch ( event . getObjectKind ( ) ) { case BuildEvent . OBJECT_KIND : fireBuildEvent ( ( BuildEvent ) event ) ; break ; case IssueEvent . OBJECT_KIND : fireIssueEvent ( ( IssueEvent ) event ) ; break ; case MergeRequestEvent . OBJECT_KIND : fireMergeRequestEvent ( ( MergeRequestEvent ) event ) ; break ; case NoteEvent . OBJECT_KIND : fireNoteEvent ( ( NoteEvent ) event ) ; break ; case PipelineEvent . OBJECT_KIND : firePipelineEvent ( ( PipelineEvent ) event ) ; break ; case PushEvent . OBJECT_KIND : firePushEvent ( ( PushEvent ) event ) ; break ; case TagPushEvent . OBJECT_KIND : fireTagPushEvent ( ( TagPushEvent ) event ) ; break ; case WikiPageEvent . OBJECT_KIND : fireWikiPageEvent ( ( WikiPageEvent ) event ) ; break ; default : String message = "Unsupported event object_kind, object_kind=" + event . getObjectKind ( ) ; LOGGER . warning ( message ) ; throw new GitLabApiException ( message ) ; } }
Fire the event to the registered listeners.
Fire the event to the registered listeners .