1 /* 2 * Licensed under the GPL License. You may not use this file except in compliance with the License. 3 * You may obtain a copy of the License at 4 * 5 * https://www.gnu.org/licenses/old-licenses/gpl-2.0.html 6 * 7 * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, 8 * WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR 9 * PURPOSE. 10 */ 11 package psiprobe.beans.stats.providers; 12 13 import jakarta.servlet.http.HttpServletRequest; 14 15 import org.jfree.data.xy.DefaultTableXYDataset; 16 17 import psiprobe.model.stats.StatsCollection; 18 19 /** 20 * Classes implementing this interface can be wired up with RenderChartController to provide Series 21 * data based on StatsCollection instance. 22 */ 23 public interface SeriesProvider { 24 25 /** 26 * Populate. 27 * 28 * @param dataset the dataset 29 * @param statsCollection the stats collection 30 * @param request the request 31 */ 32 void populate(DefaultTableXYDataset dataset, StatsCollection statsCollection, 33 HttpServletRequest request); 34 }