Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
FIY695
jenkins
提交
112b456f
J
jenkins
项目概览
FIY695
/
jenkins
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
J
jenkins
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
112b456f
编写于
7月 29, 2013
作者:
M
Mark Waite
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix javadoc warnings in hudson.model.Queue
上级
2cbaf869
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
9 addition
and
9 deletion
+9
-9
core/src/main/java/hudson/model/Queue.java
core/src/main/java/hudson/model/Queue.java
+9
-9
未找到文件。
core/src/main/java/hudson/model/Queue.java
浏览文件 @
112b456f
...
...
@@ -493,16 +493,16 @@ public class Queue extends ResourceController implements Saveable {
* For the convenience of the caller, this list can contain null, and those will be silently ignored.
* @since 1.311
* @return
* {@link ScheduleResult.Refused} if Jenkins refused to add this task into the queue (for example because the system
* {@link
hudson.model.queue.
ScheduleResult.Refused} if Jenkins refused to add this task into the queue (for example because the system
* is about to shutdown.) Otherwise the task is either merged into existing items in the queue
* (in which case you get {@link ScheduleResult.Existing} instance back), or a new item
* (in which case you get {@link
hudson.model.queue.
ScheduleResult.Existing} instance back), or a new item
* gets created in the queue (in which case you get {@link Created}.
*
* Note the nature of the queue
* is that such {@link Item} only captures the state of the item at a particular moment,
* and by the time you inspect the object, some of its information can be already stale.
*
* That said, one can still look at {@link
Item#future}, {@link
Item#id}, etc.
* That said, one can still look at {@link
Queue.Item#future}, {@link Queue.
Item#id}, etc.
*/
public
synchronized
@Nonnull
ScheduleResult
schedule2
(
Task
p
,
int
quietPeriod
,
List
<
Action
>
actions
)
{
// remove nulls
...
...
@@ -1046,7 +1046,7 @@ public class Queue extends ResourceController implements Saveable {
* <p>
* Jenkins internally invokes this method by itself whenever there's a change that can affect
* the scheduling (such as new node becoming online, # of executors change, a task completes execution, etc.),
* and it also gets invoked periodically (see {@link MaintainTask}.)
* and it also gets invoked periodically (see {@link
Queue.
MaintainTask}.)
*/
public
synchronized
void
maintain
()
{
LOGGER
.
log
(
Level
.
FINE
,
"Queue maintenance started {0}"
,
this
);
...
...
@@ -1298,7 +1298,7 @@ public class Queue extends ResourceController implements Saveable {
*
* <p>
* Since this is a newly added method, the invocation may results in {@link AbstractMethodError}.
* Use {@link Tasks#getSubTasksOf(Task)} that avoids this.
* Use {@link Tasks#getSubTasksOf(
Queue.
Task)} that avoids this.
*
* @since 1.377
*/
...
...
@@ -1314,12 +1314,12 @@ public class Queue extends ResourceController implements Saveable {
*
* <p>
* This method was added to an interface after it was created, so plugins built against
* older versions of Jenkins may not have this method implemented. Called
{@link Tasks#_getDefaultAuthenticationOf(Task)
}
* older versions of Jenkins may not have this method implemented. Called
private method _getDefaultAuthenticationOf(Task) on {@link Tasks
}
* to avoid {@link AbstractMethodError}.
*
* @since 1.520
* @see QueueItemAuthenticator
* @see Tasks#getDefaultAuthenticationOf(Task)
* @see Tasks#getDefaultAuthenticationOf(
Queue.
Task)
*/
@Nonnull
Authentication
getDefaultAuthentication
();
}
...
...
@@ -1340,7 +1340,7 @@ public class Queue extends ResourceController implements Saveable {
* <p>
* Since this method went through a signature change in 1.377, the invocation may results in
* {@link AbstractMethodError}.
* Use {@link Executables#getParentOf(Executable)} that avoids this.
* Use {@link Executables#getParentOf(
Queue.
Executable)} that avoids this.
*/
SubTask
getParent
();
...
...
@@ -1353,7 +1353,7 @@ public class Queue extends ResourceController implements Saveable {
* Estimate of how long will it take to execute this executable.
* Measured in milliseconds.
*
* Please, consider using {@link Executables#getEstimatedDurationFor(Executable)}
* Please, consider using {@link Executables#getEstimatedDurationFor(
Queue.
Executable)}
* to protected against AbstractMethodErrors!
*
* @return -1 if it's impossible to estimate.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录