Beispiel #1
0
 public ChecksRetriever(
     GithubHttpClient githubHttpClient,
     RepoConfigManager repoConfigManager)
 {
     this.githubHttpClient  = githubHttpClient;
     this.repoConfigManager = repoConfigManager;
 }
Beispiel #2
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;
 }
Beispiel #3
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;
 }
Beispiel #4
0
 public MergeOperations(
     PrMerger prMerger,
     PrUpdater prUpdater,
     CommentCreator commentCreator,
     MergeRequestsRepository mergeRequestRepository,
     MiroMergeCheck miroMergeCheck,
     RepoConfigManager repoConfigManager,
     MergeabilityValidator mergeabilityValidator)
 {
     this.prMerger               = prMerger;
     this.prUpdater              = prUpdater;
     this.commentCreator         = commentCreator;
     this.mergeRequestRepository = mergeRequestRepository;
     this.miroMergeCheck         = miroMergeCheck;
     this.mergeabilityValidator  = mergeabilityValidator;
     this.repoConfigManager      = repoConfigManager;
 }
 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;
 }
Beispiel #6
0
 public PrUpdater(GithubHttpClient githubHttpClient, RepoConfigManager repoConfigManager)
 {
     this.repoConfigManager = repoConfigManager;
     this.githubHttpClient  = githubHttpClient;
 }