Interface SystemHookListener
- All Superinterfaces:
EventListener
This interface defines an event listener for the event fired when
a System Hook notification has been received from a GitLab server.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidonGroupEvent(GroupSystemHookEvent event) This method is called when a System Hook group event has been received.default voidThis method is called when a System Hook group member event has been received.default voidonKeyEvent(KeySystemHookEvent event) This method is called when a System Hook key event has been received.default voidThis method is called when a System Hook merge_request event has been received.default voidThis method is called when a System Hook prject event has been received.default voidonPushEvent(PushSystemHookEvent event) This method is called when a System Hook push event has been received.default voidThis method is called when a System Hook repository event has been received.default voidThis method is called when a System Hook tag push event has been received.default voidThis method is called when a System Hook team member event has been received.default voidonUserEvent(UserSystemHookEvent event) This method is called when a System Hook user event has been received.
-
Method Details
-
onProjectEvent
This method is called when a System Hook prject event has been received.- Parameters:
event- the ProjectSystemHookEvent instance
-
onTeamMemberEvent
This method is called when a System Hook team member event has been received.- Parameters:
event- the TeamMemberSystemHookEvent instance containing info on the team member event
-
onUserEvent
This method is called when a System Hook user event has been received.- Parameters:
event- the UserSystemHookEvent instance containing info on the user event
-
onKeyEvent
This method is called when a System Hook key event has been received.- Parameters:
event- the KeySystemHookEvent instance containing info on the key event
-
onGroupEvent
This method is called when a System Hook group event has been received.- Parameters:
event- the GroupSystemHookEvent instance containing info on the key event
-
onGroupMemberEvent
This method is called when a System Hook group member event has been received.- Parameters:
event- the GroupMemberSystemHookEvent instance containing info on the key event
-
onPushEvent
This method is called when a System Hook push event has been received.- Parameters:
event- the PushSystemHookEvent instance containing info on the key event
-
onTagPushEvent
This method is called when a System Hook tag push event has been received.- Parameters:
event- the TagPushSystemHookEvent instance containing info on the key event
-
onRepositoryEvent
This method is called when a System Hook repository event has been received.- Parameters:
event- the RepositorySystemHookEvent instance containing info on the key event
-
onMergeRequestEvent
This method is called when a System Hook merge_request event has been received.- Parameters:
event- the MergeRequestSystemHookEvent instance containing info on the key event
-