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


Java PullRequestService类代码示例

本文整理汇总了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;
}
 
开发者ID:palantir,项目名称:stashbot,代码行数:17,代码来源:BuildSuccessReportingServlet.java

示例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;
}
 
开发者ID:palantir,项目名称:stash-disapproval-plugin,代码行数:12,代码来源:DisapprovalServlet.java

示例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;
}
 
开发者ID:umbrew,项目名称:stash-pullrequest-jenkins,代码行数:8,代码来源:JenkinsJobScheduler.java

示例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; 
  }
 
开发者ID:umbrew,项目名称:stash-pullrequest-jenkins,代码行数:8,代码来源:JenkinsJobSchedulerRegister.java

示例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));
    
}
 
开发者ID:umbrew,项目名称:stash-pullrequest-jenkins,代码行数:11,代码来源:ManualTriggerBuildServlet.java

示例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);
}
 
开发者ID:palantir,项目名称:stashbot,代码行数:16,代码来源:RepoConfigurationStatusServlet.java

示例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);
}
 
开发者ID:palantir,项目名称:stashbot,代码行数:12,代码来源:BuildTriggerServlet.java

示例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);
}
 
开发者ID:palantir,项目名称:stashbot,代码行数:16,代码来源:RepoConfigurationServlet.java

示例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);
}
 
开发者ID:palantir,项目名称:stashbot,代码行数:9,代码来源:BuildStatusReportingServlet.java

示例10: getPullRequest

import com.atlassian.stash.pull.PullRequestService; //导入依赖的package包/类
@Ignore
public PullRequest getPullRequest(PullRequestService prs);
 
开发者ID:palantir,项目名称:stash-disapproval-plugin,代码行数:3,代码来源:PullRequestDisapproval.java

示例11: getPullRequest

import com.atlassian.stash.pull.PullRequestService; //导入依赖的package包/类
public PullRequest getPullRequest(PullRequestService prs) {
    return prs.getById(prd.getRepositoryId(), prd.getPullRequestId());
}
 
开发者ID:palantir,项目名称:stash-disapproval-plugin,代码行数:4,代码来源:PullRequestDisapprovalImpl.java

示例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();
}
 
开发者ID:umbrew,项目名称:stash-pullrequest-jenkins,代码行数:6,代码来源:JenkinsJobTrigger.java

示例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;
}
 
开发者ID:umbrew,项目名称:stash-pullrequest-jenkins,代码行数:7,代码来源:JenkinsJobScheduler.java

示例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;
}
 
开发者ID:palantir,项目名称:stashbot,代码行数:7,代码来源:PullRequestFetcherOperation.java

示例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;
}
 
开发者ID:palantir,项目名称:stashbot,代码行数:7,代码来源:PullRequestCommentAddOperation.java


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