提交 97a3f714 编写于 作者: N Nicolas De Loof

some obvious javadoc because some of us feel method names are not enough

上级 310c9526
......@@ -111,6 +111,8 @@ public abstract class RunListener<R extends Run> implements ExtensionPoint {
/**
* Called when a Run is entering execution.
* @param r
* The started build.
* @since 2.9
*/
public void onInitialize(R r) {}
......@@ -213,6 +215,9 @@ public abstract class RunListener<R extends Run> implements ExtensionPoint {
}
}
/**
* Fires the {@link #onInitialize(Run)} event.
*/
public static void fireInitialize(Run r) {
for (RunListener l : all()) {
if(l.targetType.isInstance(r))
......
......@@ -204,6 +204,10 @@ public class SlaveComputer extends Computer {
}
}
/**
* Return the {@code TaskListener} for this SlaveComputer. Never null
* @since 2.9
*/
public TaskListener getListener() {
return taskListener;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册