当前位置: 首页>>代码示例>>Java>>正文


Java ChangeControl.GenericFactory方法代码示例

本文整理汇总了Java中com.google.gerrit.server.project.ChangeControl.GenericFactory方法的典型用法代码示例。如果您正苦于以下问题:Java ChangeControl.GenericFactory方法的具体用法?Java ChangeControl.GenericFactory怎么用?Java ChangeControl.GenericFactory使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.google.gerrit.server.project.ChangeControl的用法示例。


在下文中一共展示了ChangeControl.GenericFactory方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: SmartReviewers

import com.google.gerrit.server.project.ChangeControl; //导入方法依赖的package包/类
@Inject
public SmartReviewers(final AccountByEmailCache byEmailCache,
    final AccountCache accountCache,
    final ChangeControl.GenericFactory changeControlFactory,
    final ChangesCollection changes,
    final Provider<PostReviewers> reviewersProvider,
    final IdentifiedUser.GenericFactory identifiedUserFactory,
    final PatchListCache patchListCache, final ProjectCache projectCache,
    @Assisted final RevCommit commit, @Assisted final Change change,
    @Assisted final PatchSet ps, @Assisted final int maxReviewers,
    @Assisted final int weightBlame, @Assisted final int weightLastReviews,
    @Assisted final int weightWorkload, @Assisted final Repository repo,
    @Assisted final ReviewDb reviewDb) {
  this.byEmailCache = byEmailCache;
  this.accountCache = accountCache;
  this.changeControlFactory = changeControlFactory;
  this.reviewersProvider = reviewersProvider;
  this.identifiedUserFactory = identifiedUserFactory;
  this.patchListCache = patchListCache;
  this.commit = commit;
  this.change = change;
  this.ps = ps;
  this.maxReviewers = maxReviewers;
  this.weightBlame = weightBlame;
  this.weightLastReviews = weightLastReviews;
  this.weightWorkload = weightWorkload;
  this.repo = repo;
  this.reviewDb = reviewDb;
}
 
开发者ID:Intersec,项目名称:smart-reviewers,代码行数:30,代码来源:SmartReviewers.java


注:本文中的com.google.gerrit.server.project.ChangeControl.GenericFactory方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。