Esempio n. 1
0
 public PullRequestReviewEventHandler(
     MergeRequestsRepository mergeRequestsRepository,
     MergeOperations mergeOperations,
     CommentCreator commentCreator)
 {
     this.mergeRequestsRepository = mergeRequestsRepository;
     this.mergeOperations         = mergeOperations;
     this.commentCreator          = commentCreator;
 }
Esempio n. 2
0
 public MiroStatsProvider(
     MergeRequestsRepository mergeRequestsRepository,
     ChecksRepository checksRepository,
     RepoConfigRepository repoConfigRepository)
 {
     this.mergeRequestsRepository = mergeRequestsRepository;
     this.checksRepository        = checksRepository;
     this.repoConfigRepository    = repoConfigRepository;
 }
Esempio n. 3
0
 public ChecksManager(
     MergeRequestsRepository mergeRequestsRepository,
     ChecksRepository checksRepository,
     ChecksRetriever checksRetriever)
 {
     this.mergeRequestsRepository = mergeRequestsRepository;
     this.checksRepository        = checksRepository;
     this.checksRetriever         = checksRetriever;
 }
Esempio n. 4
0
 public StatusEventHandler(MergeRequestsRepository mergeRequestsRepository,
                           MergeOperations mergeOperations,
                           ChecksManager checksManager,
                           CommentCreator commentCreator)
 {
     this.mergeRequestsRepository = mergeRequestsRepository;
     this.mergeOperations         = mergeOperations;
     this.checksManager           = checksManager;
     this.commentCreator          = commentCreator;
 }
Esempio n. 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;
 }
Esempio n. 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;
 }
Esempio n. 7
0
 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;
 }
Esempio n. 8
0
 public PrStatusChecks(GithubHttpClient githubHttpClient,
                       MergeRequestsRepository mergeRequestsRepository)
 {
     this.githubHttpClient = githubHttpClient;
 }