@Extension public class ExecutorListenerImpl extends Object implements ExecutorListener
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
ExecutorListenerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
populateCommon(net.sf.json.JSONObject json,
Executor e,
Queue.Task t)
Populates the json with common data for Executor and Task items.
|
void |
taskAccepted(Executor executor,
Queue.Task task) |
void |
taskCompleted(Executor executor,
Queue.Task task,
long durationMS) |
void |
taskCompletedWithProblems(Executor executor,
Queue.Task task,
long durationMS,
Throwable problems) |
void |
taskStarted(Executor executor,
Queue.Task task) |
public void populateCommon(net.sf.json.JSONObject json,
Executor e,
Queue.Task t)
json - The resulting JSONObjecte - executort - taskpublic void taskStarted(Executor executor, Queue.Task task)
taskStarted in interface ExecutorListenerpublic void taskAccepted(Executor executor, Queue.Task task)
taskAccepted in interface ExecutorListenerpublic void taskCompleted(Executor executor, Queue.Task task, long durationMS)
taskCompleted in interface ExecutorListenerpublic void taskCompletedWithProblems(Executor executor, Queue.Task task, long durationMS, Throwable problems)
taskCompletedWithProblems in interface ExecutorListenerCopyright © 2016–2022. All rights reserved.