本文整理汇总了Java中com.atlassian.stash.pull.PullRequestService类的典型用法代码示例。如果您正苦于以下问题:Java PullRequestService类的具体用法?Java PullRequestService怎么用?Java PullRequestService使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
PullRequestService类属于com.atlassian.stash.pull包,在下文中一共展示了PullRequestService类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: BuildSuccessReportingServlet
import com.atlassian.stash.pull.PullRequestService; //导入依赖的package包/类
public BuildSuccessReportingServlet(
ConfigurationPersistenceService configurationPersistenceManager,
RepositoryService repositoryService,
BuildStatusService buildStatusService,
PullRequestService pullRequestService, StashbotUrlBuilder ub,
JobTemplateManager jtm, SecurityService ss, UserService us, PluginLoggerFactory lf) {
this.configurationPersistanceManager = configurationPersistenceManager;
this.repositoryService = repositoryService;
this.buildStatusService = buildStatusService;
this.pullRequestService = pullRequestService;
this.ub = ub;
this.jtm = jtm;
this.log = lf.getLoggerForThis(this);
this.ss = ss;
this.us = us;
}
示例2: DisapprovalServlet
import com.atlassian.stash.pull.PullRequestService; //导入依赖的package包/类
public DisapprovalServlet(LoginUriProvider lup, PermissionValidationService permissionValidationService,
PullRequestService pullRequestService, PersistenceManager pm, RequestManager rm, NavBuilder nb,
PluginLoggerFactory lf) {
this.permissionValidationService = permissionValidationService;
this.log = lf.getLoggerForThis(this);
this.lup = lup;
this.pm = pm;
this.pullRequestService = pullRequestService;
this.rm = rm;
this.nb = nb;
}
示例3: UserOperation
import com.atlassian.stash.pull.PullRequestService; //导入依赖的package包/类
public UserOperation(PullRequestService pullrequestService, JobTrigger jenkinsCI, Long pullRequestId, Integer repositoryId, TriggerRequestEvent eventType) {
this.pullrequestService = pullrequestService;
this.pullRequestId = pullRequestId;
this.repositoryId = repositoryId;
this.jenkinsCI = jenkinsCI;
this.eventType = eventType;
}
示例4: JenkinsJobSchedulerRegister
import com.atlassian.stash.pull.PullRequestService; //导入依赖的package包/类
public JenkinsJobSchedulerRegister(SchedulerService schedulerService, PullRequestService pullRequestService,UserService userService,SecurityService securityService,JobTrigger jenkinsCiIntergration) {
this.schedulerService = schedulerService;
this.pullRequestService = pullRequestService;
this.userService = userService;
this.securityService = securityService;
this.jenkinsCiIntergration = jenkinsCiIntergration;
}
示例5: ManualTriggerBuildServlet
import com.atlassian.stash.pull.PullRequestService; //导入依赖的package包/类
public ManualTriggerBuildServlet(JobTrigger jenkinsCiIntergration, PullRequestService pullRequestService, SchedulerService schedulerService, PluginSettingsFactory pluginSettingsFactory,StashAuthenticationContext stashAuthContext,SecurityService securityService,LoginUriProvider loginUriProvider, UserService userService) {
super(loginUriProvider, stashAuthContext);
log.debug("invoked constructor");
this.schedulerService = schedulerService;
this.pullRequestService = pullRequestService;
this.settings = pluginSettingsFactory.createGlobalSettings();
schedulerService.registerJobRunner(JenkinsJobScheduler.jobRunnerKey, new JenkinsJobScheduler(pullRequestService,userService,securityService,jenkinsCiIntergration));
}
示例6: RepoConfigurationStatusServlet
import com.atlassian.stash.pull.PullRequestService; //导入依赖的package包/类
public RepoConfigurationStatusServlet(RepositoryService repositoryService, PullRequestService prs,
SoyTemplateRenderer soyTemplateRenderer, PageBuilderService pageBuilderService,
ConfigurationPersistenceService configurationPersistenceManager, JenkinsManager jenkinsManager,
PluginUserManager pluginUserManager, PermissionValidationService permissionValidationService,
PluginLoggerFactory lf) {
this.repositoryService = repositoryService;
this.prs = prs;
this.soyTemplateRenderer = soyTemplateRenderer;
this.pageBuilderService = pageBuilderService;
this.configurationPersistanceManager = configurationPersistenceManager;
this.jenkinsManager = jenkinsManager;
this.permissionValidationService = permissionValidationService;
this.pluginUserManager = pluginUserManager;
this.log = lf.getLoggerForThis(this);
}
示例7: BuildTriggerServlet
import com.atlassian.stash.pull.PullRequestService; //导入依赖的package包/类
public BuildTriggerServlet(RepositoryService repositoryService,
PullRequestService pullRequestService, JobTemplateManager jtm,
ConfigurationPersistenceService cpm, JenkinsManager jenkinsManager,
PluginLoggerFactory lf) {
this.repositoryService = repositoryService;
this.pullRequestService = pullRequestService;
this.jenkinsManager = jenkinsManager;
this.jtm = jtm;
this.cpm = cpm;
this.log = lf.getLoggerForThis(this);
}
示例8: RepoConfigurationServlet
import com.atlassian.stash.pull.PullRequestService; //导入依赖的package包/类
public RepoConfigurationServlet(RepositoryService repositoryService, PullRequestService prs,
SoyTemplateRenderer soyTemplateRenderer, PageBuilderService pageBuilderService,
ConfigurationPersistenceService configurationPersistenceManager, JenkinsManager jenkinsManager,
PluginUserManager pluginUserManager, PermissionValidationService permissionValidationService,
PluginLoggerFactory lf) {
this.repositoryService = repositoryService;
this.prs = prs;
this.soyTemplateRenderer = soyTemplateRenderer;
this.pageBuilderService = pageBuilderService;
this.configurationPersistanceManager = configurationPersistenceManager;
this.jenkinsManager = jenkinsManager;
this.permissionValidationService = permissionValidationService;
this.pluginUserManager = pluginUserManager;
this.log = lf.getLoggerForThis(this);
}
示例9: BuildStatusReportingServlet
import com.atlassian.stash.pull.PullRequestService; //导入依赖的package包/类
public BuildStatusReportingServlet(RepositoryService rs, ProjectService ps, PullRequestService prs,
NavBuilder nb, PluginLoggerFactory lf) {
this.rs = rs;
this.ps = ps;
this.prs = prs;
this.nb = nb;
this.log = lf.getLoggerForThis(this);
}
示例10: getPullRequest
import com.atlassian.stash.pull.PullRequestService; //导入依赖的package包/类
@Ignore
public PullRequest getPullRequest(PullRequestService prs);
示例11: getPullRequest
import com.atlassian.stash.pull.PullRequestService; //导入依赖的package包/类
public PullRequest getPullRequest(PullRequestService prs) {
return prs.getById(prd.getRepositoryId(), prd.getPullRequestId());
}
示例12: JenkinsJobTrigger
import com.atlassian.stash.pull.PullRequestService; //导入依赖的package包/类
public JenkinsJobTrigger(PullRequestService pullRequestService, PluginSettingsFactory pluginSettingsFactory, WebResourceUrlProvider webResourceUrlProvider) {
this.pullRequestService = pullRequestService;
this.webResourceUrlProvider = webResourceUrlProvider;
this.settings = pluginSettingsFactory.createGlobalSettings();
}
示例13: JenkinsJobScheduler
import com.atlassian.stash.pull.PullRequestService; //导入依赖的package包/类
public JenkinsJobScheduler(PullRequestService pullRequestService, UserService userService,SecurityService securityService, JobTrigger jenkinsCiIntergration) {
this.pullRequestService = pullRequestService;
this.userService = userService;
this.securityService = securityService;
this.jenkinsCI = jenkinsCiIntergration;
}
示例14: PullRequestFetcherOperation
import com.atlassian.stash.pull.PullRequestService; //导入依赖的package包/类
public PullRequestFetcherOperation(PullRequestService prs, Integer repoId, Long prId) {
this.prs = prs;
this.repoId = repoId;
this.prId = prId;
wasCalled = false;
}
示例15: PullRequestCommentAddOperation
import com.atlassian.stash.pull.PullRequestService; //导入依赖的package包/类
public PullRequestCommentAddOperation(PullRequestService prs, Integer repoId, Long prId, String commentText) {
this.prs = prs;
this.repoId = repoId;
this.prId = prId;
this.commentText = commentText;
}