Class PostCommitNotificationServiceImpl

    • Constructor Detail

      • PostCommitNotificationServiceImpl

        @Inject
        public PostCommitNotificationServiceImpl​(org.uberfire.rpc.SessionInfo sessionInfo,
                                                 javax.enterprise.event.Event<org.guvnor.structure.repositories.impl.git.event.PostCommitNotificationEvent> notificationEvent,
                                                 MessageReader reader)
    • Method Detail

      • notifyUser

        public void notifyUser​(org.guvnor.structure.repositories.impl.git.GitRepository repo,
                               Integer exitCode)
        Description copied from interface: PostCommitNotificationService
        Triggers the notification for a given repo & exitCode
        Specified by:
        notifyUser in interface PostCommitNotificationService
        Parameters:
        repo - The GitRepository that triggered the post-commit git hook
        exitCode - The exit code of the post-commit script