Exemple #1
0
 public PullRequestReviewEventHandler(
     MergeRequestsRepository mergeRequestsRepository,
     MergeOperations mergeOperations,
     CommentCreator commentCreator)
 {
     this.mergeRequestsRepository = mergeRequestsRepository;
     this.mergeOperations         = mergeOperations;
     this.commentCreator          = commentCreator;
 }
Exemple #2
0
 public MiroStatsProvider(
     MergeRequestsRepository mergeRequestsRepository,
     ChecksRepository checksRepository,
     RepoConfigRepository repoConfigRepository)
 {
     this.mergeRequestsRepository = mergeRequestsRepository;
     this.checksRepository        = checksRepository;
     this.repoConfigRepository    = repoConfigRepository;
 }
Exemple #3
0
 public ChecksManager(
     MergeRequestsRepository mergeRequestsRepository,
     ChecksRepository checksRepository,
     ChecksRetriever checksRetriever)
 {
     this.mergeRequestsRepository = mergeRequestsRepository;
     this.checksRepository        = checksRepository;
     this.checksRetriever         = checksRetriever;
 }
Exemple #4
0
 public StatusEventHandler(MergeRequestsRepository mergeRequestsRepository,
                           MergeOperations mergeOperations,
                           ChecksManager checksManager,
                           CommentCreator commentCreator)
 {
     this.mergeRequestsRepository = mergeRequestsRepository;
     this.mergeOperations         = mergeOperations;
     this.checksManager           = checksManager;
     this.commentCreator          = commentCreator;
 }
Exemple #5
0
 public PushEventHandler(
     MergeRequestsRepository mergeRequestRepository,
     MiroMergeCheck miroMergeCheck,
     RepoConfigManager RepoConfigManager,
     ChecksManager checksManager,
     PrUpdater prUpdater)
 {
     this.mergeRequestRepository = mergeRequestRepository;
     this.miroMergeCheck         = miroMergeCheck;
     repoConfigManager           = RepoConfigManager;
     this.checksManager          = checksManager;
     this.prUpdater = prUpdater;
 }
Exemple #6
0
 public IssueCommentEventHandler(
     CommentCreator commentCreator,
     MergeRequestsRepository mergeRequestRepository,
     MergeabilityValidator mergeabilityValidator,
     RepoConfigManager repoConfigManager,
     MiroMergeCheck miroMergeCheck,
     MergeOperations mergeOperations)
 {
     this.commentCreator         = commentCreator;
     this.mergeRequestRepository = mergeRequestRepository;
     this.mergeabilityValidator  = mergeabilityValidator;
     this.repoConfigManager      = repoConfigManager;
     this.miroMergeCheck         = miroMergeCheck;
     this.mergeOperations        = mergeOperations;
 }
 public PullRequestEventHandler(
     PrDeleter prDeleter,
     MergeRequestsRepository mergeRequestRepository,
     PrStatusChecks prStatusChecks,
     ChecksManager checksManager,
     RepoConfigManager repoConfigManager,
     MiroMergeCheck miroMergeCheck,
     CommentCreator commentCreator,
     MergeOperations mergeOperations)
 {
     this.prDeleter = prDeleter;
     this.mergeRequestRepository = mergeRequestRepository;
     this.prStatusChecks         = prStatusChecks;
     this.checksManager          = checksManager;
     this.repoConfigManager      = repoConfigManager;
     this.miroMergeCheck         = miroMergeCheck;
     this.commentCreator         = commentCreator;
     this.mergeOperations        = mergeOperations;
 }
Exemple #8
0
 public PrStatusChecks(GithubHttpClient githubHttpClient,
                       MergeRequestsRepository mergeRequestsRepository)
 {
     this.githubHttpClient = githubHttpClient;
 }