提交 6b914113 编写于 作者: K kohsuke

defined a setter for the quiet period.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24536 71c3de6d-444a-0410-be80-ed276b4c234a
上级 023f1295
......@@ -402,6 +402,14 @@ public abstract class AbstractProject<P extends AbstractProject<P,R>,R extends A
public boolean getHasCustomQuietPeriod() {
return quietPeriod!=null;
}
/**
* Sets the custom quiet period of this project, or revert to the global default if null is given.
*/
public void setQuitPeriod(Integer seconds) throws IOException {
this.quietPeriod = seconds;
save();
}
public boolean hasCustomScmCheckoutRetryCount(){
return scmCheckoutRetryCount != null;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册