Class ParameterProvider
- java.lang.Object
-
- com.sonymobile.jenkins.plugins.mq.mqnotifier.providers.MQDataProvider
-
- com.sonymobile.jenkins.plugins.mq.mqnotifier.providers.ParameterProvider
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class ParameterProvider extends MQDataProvider
Provides the notifier with build parameters.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static StringKEY_PARAMETERSParams Key.
-
Constructor Summary
Constructors Constructor Description ParameterProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprovideCompletedRunData(Run run, net.sf.json.JSONObject json)Provides data for when a Run is completed.voidprovideEnterWaitingQueueData(Queue.WaitingItem wi, net.sf.json.JSONObject json)Provides data for when an item enters the queue.voidprovideLeftQueueData(Queue.LeftItem li, net.sf.json.JSONObject json)Provides data for when an item leaves the queue.voidprovideStartRunData(Run run, net.sf.json.JSONObject json)Provides data for when a Run starts.-
Methods inherited from class com.sonymobile.jenkins.plugins.mq.mqnotifier.providers.MQDataProvider
all, provideTaskAcceptedData, provideTaskCompletedData, provideTaskCompletedWithProblemsData, provideTaskStartedData
-
-
-
-
Field Detail
-
KEY_PARAMETERS
public static final String KEY_PARAMETERS
Params Key.- See Also:
- Constant Field Values
-
-
Method Detail
-
provideStartRunData
public void provideStartRunData(Run run, net.sf.json.JSONObject json)
Description copied from class:MQDataProviderProvides data for when a Run starts.- Overrides:
provideStartRunDatain classMQDataProvider- Parameters:
run- theRunthat has started running.json- the json object that we should add information to.
-
provideCompletedRunData
public void provideCompletedRunData(Run run, net.sf.json.JSONObject json)
Description copied from class:MQDataProviderProvides data for when a Run is completed.- Overrides:
provideCompletedRunDatain classMQDataProvider- Parameters:
run- theRunthat has completed running.json- the json object that we should add information to.
-
provideEnterWaitingQueueData
public void provideEnterWaitingQueueData(Queue.WaitingItem wi, net.sf.json.JSONObject json)
Description copied from class:MQDataProviderProvides data for when an item enters the queue.- Overrides:
provideEnterWaitingQueueDatain classMQDataProvider- Parameters:
wi- theQueue.WaitingItemthat has entered the queue.json- the json object that we should add information to.
-
provideLeftQueueData
public void provideLeftQueueData(Queue.LeftItem li, net.sf.json.JSONObject json)
Description copied from class:MQDataProviderProvides data for when an item leaves the queue.- Overrides:
provideLeftQueueDatain classMQDataProvider- Parameters:
li- theQueue.LeftItemthat has left the queue.json- the json object that we should add information to.
-
-