提交 470e4960 编写于 作者: K kohsuke

added the setJDK method.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1305 71c3de6d-444a-0410-be80-ed276b4c234a
上级 2631e2f4
......@@ -158,6 +158,14 @@ public class Project extends Job<Project,Build> {
return getParent().getJDK(jdk);
}
/**
* Overwrites the JDK setting.
*/
public synchronized void setJDK(JDK jdk) throws IOException {
this.jdk = jdk.getName();
save();
}
public int getQuietPeriod() {
return quietPeriod!=null ? quietPeriod : getParent().getQuietPeriod();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册