提交 0d1c5344 编写于 作者: K kohsuke

doc improvement.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1385 71c3de6d-444a-0410-be80-ed276b4c234a
上级 3c2adf09
......@@ -117,6 +117,10 @@ public final class Computer implements ModelObject {
return r;
}
/**
* Called to notify {@link Computer} that its corresponding {@link Node}
* configuration is updated.
*/
/*package*/ void setNode(Node node) {
assert node!=null;
if(node instanceof Slave)
......@@ -127,6 +131,9 @@ public final class Computer implements ModelObject {
setNumExecutors(node.getNumExecutors());
}
/**
* Called to notify {@link Computer} that it will be discarded.
*/
/*package*/ void kill() {
setNumExecutors(0);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册