All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.gitlab4j.api.systemhooks.MergeRequestSystemHookEvent Maven / Gradle / Ivy

Go to download

GitLab4J-API (gitlab4j-api) provides a full featured Java client library for working with GitLab repositories and servers via the GitLab REST API.

There is a newer version: 6.0.0-rc.5
Show newest version
package org.gitlab4j.api.systemhooks;

import org.gitlab4j.api.webhook.MergeRequestEvent;

public class MergeRequestSystemHookEvent extends MergeRequestEvent implements SystemHookEvent {

    public static final String X_GITLAB_EVENT = "System Hook";
    public static final String MERGE_REQUEST_EVENT = "merge_request";

    private String eventType;

    @Override
    public String getObjectKind() {
        return (MERGE_REQUEST_EVENT);
    }

    @Override
    public String getEventName() {
        return (MERGE_REQUEST_EVENT);
    }

    public String getEventType() {
        return eventType;
    }

    public void setEvent_type(String eventType) {
        this.eventType = eventType;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy