本文整理汇总了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;
}