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


Java RunTypeRegistry类代码示例

本文整理汇总了Java中jetbrains.buildServer.serverSide.RunTypeRegistry的典型用法代码示例。如果您正苦于以下问题:Java RunTypeRegistry类的具体用法?Java RunTypeRegistry怎么用?Java RunTypeRegistry使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: setUp

import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
@Override
@BeforeMethod
public void setUp() throws Exception {
  super.setUp();
  m = new Mockery();
  registry = m.mock(RunTypeRegistry.class);
  descriptor = m.mock(PluginDescriptor.class);
  m.checking(new Expectations() {{
    allowing(registry);
    allowing(descriptor);
  }});
  runType = new PowerShellRunType(registry, descriptor);

}
 
开发者ID:JetBrains,项目名称:teamcity-powershell,代码行数:15,代码来源:PowerShellRunTypeTest.java

示例2: HubRunner

import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
public HubRunner(@NotNull final RunTypeRegistry runTypeRegistry,
        @NotNull final WebControllerManager webControllerManager, @NotNull final PluginDescriptor pluginDescriptor,
        @NotNull final HubServerListener serverListener) {
    super(webControllerManager, pluginDescriptor, serverListener.getConfigManager());
    runTypeRegistry.registerRunType(this);
    registerView("hubRunnerView.html", "bdHubRunner/hubRunnerView.jsp");
    registerEdit("hubRunnerEdit.html", "bdHubRunner/hubRunnerEdit.jsp");
}
 
开发者ID:blackducksoftware,项目名称:hub-teamcity,代码行数:9,代码来源:HubRunner.java

示例3: AutomateWebsiteRunType

import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
public AutomateWebsiteRunType(@NotNull final RunTypeRegistry registry,
        @NotNull final PluginDescriptor descriptor, 
        @NotNull AutomateWebsitePropertiesProcessor propetriesProcessor) {
    this.descriptor = descriptor;
    this.propetriesProcessor = propetriesProcessor;
    registry.registerRunType(this);
}
 
开发者ID:automate-website,项目名称:teamcity-plugin,代码行数:8,代码来源:AutomateWebsiteRunType.java

示例4: setUp

import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
@BeforeMethod
public void setUp() {
  myContext = new Mockery();
  final RunTypeRegistry registry = myContext.mock(RunTypeRegistry.class);
  final PluginDescriptor descriptor = myContext.mock(PluginDescriptor.class);
  myContext.checking(new Expectations() {{
    allowing(registry).registerRunType(with(aNonNull(SSHExecRunType.class)));
  }});
  createRunType(registry, descriptor);
}
 
开发者ID:JetBrains,项目名称:teamcity-deployer-plugin,代码行数:11,代码来源:DeployerRunTypeTest.java

示例5: AllureRunType

import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
public AllureRunType(
        @NotNull final RunTypeRegistry registry,
        @NotNull final PluginDescriptor descriptor) {
    this.pluginDescriptor = descriptor;
    registry.registerRunType(this);
}
 
开发者ID:allure-framework,项目名称:allure-teamcity,代码行数:10,代码来源:AllureRunType.java

示例6: PowerShellRunType

import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
public PowerShellRunType(@NotNull final RunTypeRegistry reg,
                         @NotNull final PluginDescriptor descriptor) {
  myDescriptor = descriptor;
  reg.registerRunType(this);
}
 
开发者ID:JetBrains,项目名称:teamcity-powershell,代码行数:6,代码来源:PowerShellRunType.java

示例7: getInstance

import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
public static @NotNull RunType getInstance(final @NotNull RunTypeRegistry runTypeRegistry, final @NotNull PluginDescriptor descriptor){
  final RunType runType = new AutotoolsBuildRunType(descriptor);
  runTypeRegistry.registerRunType(runType);
  return runType;
}
 
开发者ID:unix-junkie,项目名称:teamcity-autotools-plugin,代码行数:6,代码来源:AutotoolsBuildRunType.java

示例8: HelmRunType

import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
public HelmRunType(PluginDescriptor pluginDescriptor, RunTypeRegistry runTypeRegistry) {
    myPluginDescriptor = pluginDescriptor;
    runTypeRegistry.registerRunType(this);
}
 
开发者ID:JetBrains,项目名称:teamcity-kubernetes-plugin,代码行数:5,代码来源:HelmRunType.java

示例9: AWSS3RunType

import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
public AWSS3RunType(final RunTypeRegistry runTypeRegistry) {
    runTypeRegistry.registerRunType(this);
}
 
开发者ID:gonzadocarmo,项目名称:teamcity-s3-plugin,代码行数:4,代码来源:AWSS3RunType.java

示例10: setUp

import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
@BeforeMethod
public void setUp() throws Exception {
    RunTypeRegistry registryMock = Mockito.mock(RunTypeRegistry.class);
    instance = new AWSS3RunType(registryMock);
}
 
开发者ID:gonzadocarmo,项目名称:teamcity-s3-plugin,代码行数:6,代码来源:AWSS3RunTypeTest.java

示例11: PrExtrasRunType

import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
public PrExtrasRunType(final RunTypeRegistry runTypeRegistry, final PluginDescriptor pluginDescriptor){
    _pluginDescriptor = pluginDescriptor;
    runTypeRegistry.registerRunType(this);
}
 
开发者ID:Nicologies,项目名称:PrExtras,代码行数:5,代码来源:PrExtrasRunType.java

示例12: PackAndPublishRunType

import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
public PackAndPublishRunType(final RunTypeRegistry runTypeRegistry, final PluginDescriptor pluginDescriptor) {
    this.pluginDescriptor = pluginDescriptor;
    runTypeRegistry.registerRunType(this);
}
 
开发者ID:skbkontur,项目名称:OctoPnP,代码行数:5,代码来源:PackAndPublishRunType.java

示例13: SSHExecRunType

import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
public SSHExecRunType(@NotNull final RunTypeRegistry registry,
                      @NotNull final PluginDescriptor descriptor) {
  registry.registerRunType(this);
  myDescriptor = descriptor;
}
 
开发者ID:JetBrains,项目名称:teamcity-deployer-plugin,代码行数:6,代码来源:SSHExecRunType.java

示例14: SmbDeployerRunType

import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
public SmbDeployerRunType(@NotNull final RunTypeRegistry registry,
                          @NotNull final PluginDescriptor descriptor) {
  registry.registerRunType(this);
  myDescriptor = descriptor;
}
 
开发者ID:JetBrains,项目名称:teamcity-deployer-plugin,代码行数:6,代码来源:SmbDeployerRunType.java

示例15: CargoDeployerRunType

import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
public CargoDeployerRunType(@NotNull final RunTypeRegistry registry,
                            @NotNull final PluginDescriptor descriptor) {
  registry.registerRunType(this);
  myDescriptor = descriptor;
}
 
开发者ID:JetBrains,项目名称:teamcity-deployer-plugin,代码行数:6,代码来源:CargoDeployerRunType.java


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