提交 b70e53fe 编写于 作者: K kohsuke

Production code shouldn't be using this, but for tests, this is very...

Production code shouldn't be using this, but for tests, this is very convenience, so let's not mark this as deprecated.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16155 71c3de6d-444a-0410-be80-ed276b4c234a
上级 d280f213
......@@ -509,8 +509,12 @@ public abstract class AbstractProject<P extends AbstractProject<P,R>,R extends A
}
/**
* @deprecated
* Use {@link #scheduleBuild2(int, Cause)}. Since 1.283
* Schedules a build, and returns a {@link Future} object
* to wait for the completion of the build.
*
* <p>
* Production code shouldn't be using this, but for tests, this is very convenience, so this isn't marked
* as deprecated.
*/
public Future<R> scheduleBuild2(int quietPeriod) {
return scheduleBuild2(quietPeriod, new LegacyCodeCause());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册