public abstract class MQDataProvider extends Object implements ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
MQDataProvider() |
| Modifier and Type | Method and Description |
|---|---|
static List<MQDataProvider> |
all()
Returns all MQDataProvider for this Jenkins instance.
|
void |
provideCompletedRunData(Run run,
net.sf.json.JSONObject json)
Provides data for when a Run is completed.
|
void |
provideEnterWaitingQueueData(Queue.WaitingItem wi,
net.sf.json.JSONObject json)
Provides data for when an item enters the queue.
|
void |
provideLeftQueueData(Queue.LeftItem li,
net.sf.json.JSONObject json)
Provides data for when an item leaves the queue.
|
void |
provideStartRunData(Run run,
net.sf.json.JSONObject json)
Provides data for when a Run starts.
|
public void provideEnterWaitingQueueData(Queue.WaitingItem wi, net.sf.json.JSONObject json)
wi - the Queue.WaitingItem that has entered the queue.json - the json object that we should add information to.public void provideLeftQueueData(Queue.LeftItem li, net.sf.json.JSONObject json)
li - the Queue.LeftItem that has left the queue.json - the json object that we should add information to.public void provideStartRunData(Run run, net.sf.json.JSONObject json)
run - the Run that has started running.json - the json object that we should add information to.public void provideCompletedRunData(Run run, net.sf.json.JSONObject json)
run - the Run that has completed running.json - the json object that we should add information to.public static List<MQDataProvider> all()
Copyright © 2016–2021. All rights reserved.