本文整理汇总了Java中hudson.tools.ToolInstaller类的典型用法代码示例。如果您正苦于以下问题:Java ToolInstaller类的具体用法?Java ToolInstaller怎么用?Java ToolInstaller使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ToolInstaller类属于hudson.tools包,在下文中一共展示了ToolInstaller类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: configRoundtrip
import hudson.tools.ToolInstaller; //导入依赖的package包/类
@Test
public void configRoundtrip() throws Exception {
Client4JDKInstaller installer = new Client4JDKInstaller("[email protected]_Developer", true);
j.jenkins.getJDKs().add(new JDK("test",tmp.getRoot().getAbsolutePath(), Arrays.asList(
new InstallSourceProperty(Arrays.<ToolInstaller>asList(installer)))));
j.submit(j.createWebClient().goTo("configure").getFormByName("config"));
JDK jdk = j.jenkins.getJDK("test");
InstallSourceProperty isp = jdk.getProperties().get(InstallSourceProperty.class);
assertEquals(1,isp.installers.size());
j.assertEqualBeans(installer, isp.installers.get(Client4JDKInstaller.class), "id,acceptLicense");
}
开发者ID:jenkinsci,项目名称:apache-httpcomponents-client-4-api-plugin,代码行数:15,代码来源:Client4JDKInstallerTest.java
示例2: getDefaultInstallers
import hudson.tools.ToolInstaller; //导入依赖的package包/类
@Override
public List<? extends ToolInstaller> getDefaultInstallers() {
return super.getDefaultInstallers();
}
示例3: getDefaultInstallers
import hudson.tools.ToolInstaller; //导入依赖的package包/类
@Override
public List<? extends ToolInstaller> getDefaultInstallers() {
return Collections.singletonList(new TerraformInstaller(null));
}
示例4: getDefaultInstallers
import hudson.tools.ToolInstaller; //导入依赖的package包/类
@Override public List<? extends ToolInstaller> getDefaultInstallers() {
return super.getDefaultInstallers();
}
示例5: getDefaultInstallers
import hudson.tools.ToolInstaller; //导入依赖的package包/类
@Override
public List<? extends ToolInstaller> getDefaultInstallers() {
return Collections.EMPTY_LIST;
}
示例6: getDefaultInstallers
import hudson.tools.ToolInstaller; //导入依赖的package包/类
/**
* Overwritten to make ninja auto-installer a default option.
*/
@Override
public List<? extends ToolInstaller> getDefaultInstallers() {
return Collections.singletonList(new NinjaInstaller(null));
}
示例7: getDefaultInstallers
import hudson.tools.ToolInstaller; //导入依赖的package包/类
@Override
public List<? extends ToolInstaller> getDefaultInstallers() {
return Collections.singletonList(new PackerInstaller(null));
}
示例8: getDefaultInstallers
import hudson.tools.ToolInstaller; //导入依赖的package包/类
@Override
public List<? extends ToolInstaller> getDefaultInstallers() {
return Collections.singletonList(new SBuildInstaller(null));
}
示例9: getDefaultInstallers
import hudson.tools.ToolInstaller; //导入依赖的package包/类
@Override
public List<? extends ToolInstaller> getDefaultInstallers() {
return Collections.singletonList(new ChrootCreator(null));
}
示例10: getDefaultInstallers
import hudson.tools.ToolInstaller; //导入依赖的package包/类
@Override
public List<? extends ToolInstaller> getDefaultInstallers() {
return Collections.singletonList(new ScalaInstaller(null));
}