package com.atlassian.bitbucket.mesh.git.hook;

import com.atlassian.bitbucket.mesh.config.HooksConfig;
import com.atlassian.bitbucket.mesh.execution.ExecutionManager;
import com.atlassian.bitbucket.mesh.repository.RepositoryManager;

import java.io.IOException;
import java.nio.file.Path;
import java.util.List;
import java.util.concurrent.ExecutorService;

public class TestableGitHookService extends DefaultGitHookService {

    public TestableGitHookService(HooksConfig config, ExecutionManager executionManager,
                                  ExecutorService executor, List<GitHookHandler> handlers,
                                  RepositoryManager repositoryManager, Path tempDir) {
        super(config, executionManager, executor, handlers, repositoryManager, tempDir);
    }

    @Override
    public void handleRawRequest(GitHookInputParser parser, GitHookOutputWriter writer) throws IOException {
        super.handleRawRequest(parser, writer);
    }
}