本文整理汇总了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);
}
示例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");
}
示例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);
}
示例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);
}
示例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);
}
示例6: PowerShellRunType
import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
public PowerShellRunType(@NotNull final RunTypeRegistry reg,
@NotNull final PluginDescriptor descriptor) {
myDescriptor = descriptor;
reg.registerRunType(this);
}
示例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;
}
示例8: HelmRunType
import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
public HelmRunType(PluginDescriptor pluginDescriptor, RunTypeRegistry runTypeRegistry) {
myPluginDescriptor = pluginDescriptor;
runTypeRegistry.registerRunType(this);
}
示例9: AWSS3RunType
import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
public AWSS3RunType(final RunTypeRegistry runTypeRegistry) {
runTypeRegistry.registerRunType(this);
}
示例10: setUp
import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
@BeforeMethod
public void setUp() throws Exception {
RunTypeRegistry registryMock = Mockito.mock(RunTypeRegistry.class);
instance = new AWSS3RunType(registryMock);
}
示例11: PrExtrasRunType
import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
public PrExtrasRunType(final RunTypeRegistry runTypeRegistry, final PluginDescriptor pluginDescriptor){
_pluginDescriptor = pluginDescriptor;
runTypeRegistry.registerRunType(this);
}
示例12: PackAndPublishRunType
import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
public PackAndPublishRunType(final RunTypeRegistry runTypeRegistry, final PluginDescriptor pluginDescriptor) {
this.pluginDescriptor = pluginDescriptor;
runTypeRegistry.registerRunType(this);
}
示例13: SSHExecRunType
import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
public SSHExecRunType(@NotNull final RunTypeRegistry registry,
@NotNull final PluginDescriptor descriptor) {
registry.registerRunType(this);
myDescriptor = descriptor;
}
示例14: SmbDeployerRunType
import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
public SmbDeployerRunType(@NotNull final RunTypeRegistry registry,
@NotNull final PluginDescriptor descriptor) {
registry.registerRunType(this);
myDescriptor = descriptor;
}
示例15: CargoDeployerRunType
import jetbrains.buildServer.serverSide.RunTypeRegistry; //导入依赖的package包/类
public CargoDeployerRunType(@NotNull final RunTypeRegistry registry,
@NotNull final PluginDescriptor descriptor) {
registry.registerRunType(this);
myDescriptor = descriptor;
}