Package org.gitlab4j.api.systemhooks
Interface SystemHookListener
-
- All Superinterfaces:
java.util.EventListener
public interface SystemHookListener extends java.util.EventListenerThis interface defines an event listener for the event fired when a System Hook notification has been received from a GitLab server.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidonGroupEvent(GroupSystemHookEvent event)This method is called when a System Hook group event has been received.default voidonGroupMemberEvent(GroupMemberSystemHookEvent event)This 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 voidonMergeRequestEvent(MergeRequestSystemHookEvent event)This method is called when a System Hook merge_request event has been received.default voidonProjectEvent(ProjectSystemHookEvent event)This 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 voidonRepositoryEvent(RepositorySystemHookEvent event)This method is called when a System Hook repository event has been received.default voidonTagPushEvent(TagPushSystemHookEvent event)This method is called when a System Hook tag push event has been received.default voidonTeamMemberEvent(TeamMemberSystemHookEvent event)This 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 Detail
-
onProjectEvent
default void onProjectEvent(ProjectSystemHookEvent event)
This method is called when a System Hook prject event has been received.- Parameters:
event- the ProjectSystemHookEvent instance
-
onTeamMemberEvent
default void onTeamMemberEvent(TeamMemberSystemHookEvent event)
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
default void onUserEvent(UserSystemHookEvent event)
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
default void onKeyEvent(KeySystemHookEvent event)
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
default void onGroupEvent(GroupSystemHookEvent event)
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
default void onGroupMemberEvent(GroupMemberSystemHookEvent event)
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
default void onPushEvent(PushSystemHookEvent event)
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
default void onTagPushEvent(TagPushSystemHookEvent event)
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
default void onRepositoryEvent(RepositorySystemHookEvent event)
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
default void onMergeRequestEvent(MergeRequestSystemHookEvent event)
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
-
-