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

        LOGGER.info("handleEvent: object_kind=" + event.getObjectKind());

        switch (event.getObjectKind()) {
        case BuildEvent.OBJECT_KIND:
        case IssueEvent.OBJECT_KIND:
        case MergeRequestEvent.OBJECT_KIND:
        case NoteEvent.OBJECT_KIND:
        case PipelineEvent.OBJECT_KIND:
        case PushEvent.OBJECT_KIND:
        case TagPushEvent.OBJECT_KIND:
        case WikiPageEvent.OBJECT_KIND:
            break;

        default:
            String message = "Unsupported event object_kind, object_kind=" + event.getObjectKind();
            LOGGER.warning(message);
            throw new GitLabApiException(message);
        }

        fireEvent(event);
    }
/**
     * Verifies the provided Event and fires it off to the registered listeners.
     * 
     * @param event the Event instance to handle
     * @throws GitLabApiException if the event is not supported
     */
Verifies the provided Event and fires it off to the registered listeners.

@param event the Event instance to handle
@throws GitLabApiException if the event is not supported
Verifies the provided Event and fires it off to the registered listeners . @param event the Event instance to handle @throws GitLabApiException if the event is not supported
public void handleEvent(Event event) throws GitLabApiException {
        LOGGER.info("handleEvent: object_kind=" + event.getObjectKind());
        switch (event.getObjectKind()) {
        case BuildEvent.OBJECT_KIND:
        case IssueEvent.OBJECT_KIND:
        case MergeRequestEvent.OBJECT_KIND:
        case NoteEvent.OBJECT_KIND:
        case PipelineEvent.OBJECT_KIND:
        case PushEvent.OBJECT_KIND:
        case TagPushEvent.OBJECT_KIND:
        case WikiPageEvent.OBJECT_KIND:
            break;
        default:
            String message = "Unsupported event object_kind, object_kind=" + event.getObjectKind();
            LOGGER.warning(message);
            throw new GitLabApiException(message);
        }
        fireEvent(event);
    }
public void handleEvent ( Event event ) throws GitLabApiException { LOGGER . info ( "handleEvent: object_kind=" + event . getObjectKind ( ) ) ; switch ( event . getObjectKind ( ) ) { case BuildEvent . OBJECT_KIND : case IssueEvent . OBJECT_KIND : case MergeRequestEvent . OBJECT_KIND : case NoteEvent . OBJECT_KIND : case PipelineEvent . OBJECT_KIND : case PushEvent . OBJECT_KIND : case TagPushEvent . OBJECT_KIND : case WikiPageEvent . OBJECT_KIND : break ; default : String message = "Unsupported event object_kind, object_kind=" + event . getObjectKind ( ) ; LOGGER . warning ( message ) ; throw new GitLabApiException ( message ) ; } fireEvent ( event ) ; }
Verifies the provided Event and fires it off to the registered listeners.
Verifies the provided Event and fires it off to the registered listeners .