hudson.model.JDK.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-22 转载在 其他  
字(3.3k)|赞(0)|评价(0)|浏览(202)

本文整理了Java中hudson.model.JDK.<init>()方法的一些代码示例,展示了JDK.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JDK.<init>()方法的具体详情如下:
包路径:hudson.model.JDK
类名称:JDK
方法名:<init>

JDK.<init>介绍

暂无

代码示例

代码示例来源:origin: jenkinsci/jenkins

public JDK forNode(Node node, TaskListener log) throws IOException, InterruptedException {
  return new JDK(getName(), translateFor(node, log));
}

代码示例来源:origin: jenkinsci/jenkins

public JDK forEnvironment(EnvVars environment) {
  return new JDK(getName(), environment.expand(getHome()));
}

代码示例来源:origin: jenkinsci/maven-plugin

@Override public JDK call() throws Error {
    JDK jdk = new JDK("this", System.getProperty("java.home"));
    return jdk.getExists() ? jdk : /* i.e. just run "java" and hope for the best */null;
  }
}

代码示例来源:origin: org.jenkins-ci.main/jenkins-core

public JDK forNode(Node node, TaskListener log) throws IOException, InterruptedException {
  return new JDK(getName(), translateFor(node, log));
}

代码示例来源:origin: org.jvnet.hudson.main/hudson-core

public JDK forNode(Node node, TaskListener log) throws IOException, InterruptedException {
  return new JDK(getName(), translateFor(node, log));
}

代码示例来源:origin: org.eclipse.hudson/hudson-core

public JDK forNode(Node node, TaskListener log) throws IOException, InterruptedException {
  return new JDK(getName(), translateFor(node, log));
}

代码示例来源:origin: org.eclipse.hudson.main/hudson-core

public JDK forNode(Node node, TaskListener log) throws IOException, InterruptedException {
  return new JDK(getName(), translateFor(node, log));
}

代码示例来源:origin: hudson/hudson-2.x

public JDK forNode(Node node, TaskListener log) throws IOException, InterruptedException {
  return new JDK(getName(), translateFor(node, log));
}

代码示例来源:origin: org.eclipse.hudson.main/hudson-core

public JDK forEnvironment(EnvVars environment) {
  return new JDK(getName(), environment.expand(getHome()));
}

代码示例来源:origin: org.jenkins-ci.main/jenkins-core

public JDK forEnvironment(EnvVars environment) {
  return new JDK(getName(), environment.expand(getHome()));
}

代码示例来源:origin: hudson/hudson-2.x

public JDK forEnvironment(EnvVars environment) {
  return new JDK(getName(), environment.expand(getHome()));
}

代码示例来源:origin: org.jvnet.hudson.main/hudson-core

public JDK forEnvironment(EnvVars environment) {
  return new JDK(getName(), environment.expand(getHome()));
}

代码示例来源:origin: org.eclipse.hudson/hudson-core

public JDK forEnvironment(EnvVars environment) {
  return new JDK(getName(), environment.expand(getHome()));
}

代码示例来源:origin: jenkinsci/jenkinsfile-runner

jenkins.getJDKs().add(new JDK("default",System.getProperty("java.home")));

代码示例来源:origin: io.jenkins.jenkinsfile-runner/setup

jenkins.getJDKs().add(new JDK("default",System.getProperty("java.home")));

代码示例来源:origin: jenkinsci/jenkins-test-harness

jenkins.getJDKs().add(new JDK("default",System.getProperty("java.home")));

代码示例来源:origin: org.jvnet.hudson.main/hudson-test-harness

hudson.getJDKs().add(new JDK("default",System.getProperty("java.home")));

代码示例来源:origin: jenkinsci/jenkins-test-harness

jenkins.getJDKs().add(new JDK("default",System.getProperty("java.home")));

代码示例来源:origin: org.eclipse.hudson/hudson-test-framework

hudson.getJDKs().add(new JDK("default", System.getProperty("java.home")));

代码示例来源:origin: org.jvnet.hudson.main/hudson-test-framework

hudson.getJDKs().add(new JDK("default",System.getProperty("java.home")));

相关文章