Class CauseProvider
- java.lang.Object
-
- com.sonymobile.jenkins.plugins.mq.mqnotifier.providers.MQDataProvider
-
- com.sonymobile.jenkins.plugins.mq.mqnotifier.providers.CauseProvider
-
- All Implemented Interfaces:
ExtensionPoint
@Extension public class CauseProvider extends MQDataProvider
Provides information about the causes for a build.- Author:
- Tomas Westling <tomas.westling@axis.com>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static String
KEY_CAUSES
Causes Key.
-
Constructor Summary
Constructors Constructor Description CauseProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
provideStartRunData(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, provideCompletedRunData, provideEnterWaitingQueueData, provideLeftQueueData, provideTaskAcceptedData, provideTaskCompletedData, provideTaskCompletedWithProblemsData, provideTaskStartedData
-
-
-
-
Field Detail
-
KEY_CAUSES
public static final String KEY_CAUSES
Causes Key.- See Also:
- Constant Field Values
-
-
Method Detail
-
provideStartRunData
public void provideStartRunData(Run run, net.sf.json.JSONObject json)
Description copied from class:MQDataProvider
Provides data for when a Run starts.- Overrides:
provideStartRunData
in classMQDataProvider
- Parameters:
run
- theRun
that has started running.json
- the json object that we should add information to.
-
-