Class MQDataProvider

    • Constructor Detail

      • MQDataProvider

        public MQDataProvider()
    • Method Detail

      • provideEnterWaitingQueueData

        public void provideEnterWaitingQueueData​(Queue.WaitingItem wi,
                                                 net.sf.json.JSONObject json)
        Provides data for when an item enters the queue.
        Parameters:
        wi - the Queue.WaitingItem that 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)
        Provides data for when an item leaves the queue.
        Parameters:
        li - the Queue.LeftItem that has left the queue.
        json - the json object that we should add information to.
      • provideStartRunData

        public void provideStartRunData​(Run run,
                                        net.sf.json.JSONObject json)
        Provides data for when a Run starts.
        Parameters:
        run - the Run that has started running.
        json - the json object that we should add information to.
      • provideCompletedRunData

        public void provideCompletedRunData​(Run run,
                                            net.sf.json.JSONObject json)
        Provides data for when a Run is completed.
        Parameters:
        run - the Run that has completed running.
        json - the json object that we should add information to.
      • all

        public static List<MQDataProvider> all()
        Returns all MQDataProvider for this Jenkins instance.
        Returns:
        all the MQDataProviders.