Commit c92435ec authored by Greg Messner's avatar Greg Messner
Browse files

Fixed Javadoc error.

parent 6404e89b
......@@ -11,6 +11,13 @@ import org.gitlab4j.api.webhook.PushEvent;
*/
public interface WebHookListener extends java.util.EventListener {
/**
* This method is called when a WebHook build event has been received.
*
* @param buildEvent the BuildEvent instance
*/
public void onBuildEvent(BuildEvent buildEvent);
/**
* This method is called when a WebHook issue event has been received.
*
......@@ -26,39 +33,32 @@ public interface WebHookListener extends java.util.EventListener {
public void onMergeRequestEvent(MergeRequestEvent event);
/**
* This method is called when a WebHook push event has been received.
*
* @param pushEvent the PushEvent instance
*/
public void onPushEvent(PushEvent pushEvent);
/**
* This method is called when a WebHook tag push event has been received.
* This method is called when a WebHook note event has been received.
*
* @param tagPushEvent the TagPushEvent instance
* @param noteEvent theNoteEvent instance
*/
public void onTagPushEvent(TagPushEvent tagPushEvent);
public void onNoteEvent(NoteEvent noteEvent);
/**
* This method is called when a WebHook note event has been received.
* This method is called when a WebHook pipeline event has been received.
*
* @param noteEvent theNoteEvent instance
* @param pipelineEvent the PipelineEvent instance
*/
public void onNoteEvent(NoteEvent noteEvent);
public void onPipelineEvent(PipelineEvent pipelineEvent);
/**
* This method is called when a WebHook build event has been received.
* This method is called when a WebHook push event has been received.
*
* @param buildEvent the BuildEvent instance
* @param pushEvent the PushEvent instance
*/
public void onBuildEvent(BuildEvent buildEvent);
public void onPushEvent(PushEvent pushEvent);
/**
* This method is called when a WebHook pipeline event has been received.
* This method is called when a WebHook tag push event has been received.
*
* @param pushEvent the PipelineEvent instance
* @param tagPushEvent the TagPushEvent instance
*/
public void onPipelineEvent(PipelineEvent pipelineEvent);
public void onTagPushEvent(TagPushEvent tagPushEvent);
/**
* This method is called when a WebHook wiki page event has been received.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment