Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
c92435ec
Commit
c92435ec
authored
Apr 09, 2017
by
Greg Messner
Browse files
Fixed Javadoc error.
parent
6404e89b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/webhook/WebHookListener.java
View file @
c92435ec
...
...
@@ -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
tagPush
Event the
TagPush
Event instance
* @param
note
Event the
Note
Event instance
*/
public
void
on
TagPushEvent
(
TagPushEvent
tagPush
Event
);
public
void
on
NoteEvent
(
NoteEvent
note
Event
);
/**
* This method is called when a WebHook
not
e event has been received.
* This method is called when a WebHook
pipelin
e event has been received.
*
* @param
not
eEvent the
Not
eEvent instance
* @param
pipelin
eEvent the
Pipelin
eEvent instance
*/
public
void
on
NoteEvent
(
NoteEvent
not
eEvent
);
public
void
on
PipelineEvent
(
PipelineEvent
pipelin
eEvent
);
/**
* 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
build
Event the
Build
Event instance
* @param
push
Event the
Push
Event instance
*/
public
void
on
Build
Event
(
Build
Event
build
Event
);
public
void
on
Push
Event
(
Push
Event
push
Event
);
/**
* 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
p
ushEvent the
Pipeline
Event instance
* @param
tagP
ushEvent the
TagPush
Event instance
*/
public
void
on
PipelineEvent
(
PipelineEvent
pipeline
Event
);
public
void
on
TagPushEvent
(
TagPushEvent
tagPush
Event
);
/**
* This method is called when a WebHook wiki page event has been received.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment