class GitHookServiceImpl implements GitHookService {

    @Override
    public void processGitEvent(final GitEvent event) {
        GitEventType eventType = event.getEventType();
        if (eventType == null) {
            log.error("Unspecified git event type");
            return;
        }
        if (!eventProcessors.containsKey(eventType)) {
            log.error("Unsupported event type: {}", eventType);
            return;
        }

        log.debug("Processing git hook with type: {}", eventType);
        eventProcessors.get(eventType).processEvent(event);
    }

    public  GitHookServiceImpl(final List<GitEventProcessor> processors);

}