Class PerformanceProjectAction
java.lang.Object
hudson.plugins.performance.actions.PerformanceProjectAction
- All Implemented Interfaces:
Action,ModelObject
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.jfree.chart.JFreeChartcreateErrorsChart(org.jfree.data.category.CategoryDataset dataset) protected org.jfree.chart.JFreeChartcreateErrorsGraph(org.jfree.data.category.CategoryDataset dataset) protected org.jfree.chart.JFreeChartcreateRespondingTimeChart(org.jfree.data.category.CategoryDataset dataset, int legendLimit) protected org.jfree.chart.JFreeChartcreateSummarizerChart(org.jfree.data.category.CategoryDataset dataset, String yAxis, String chartTitle) static org.jfree.chart.JFreeChartcreateSummarizerTrend(ArrayList<org.jfree.data.xy.XYDataset> dataset, String uri) static org.jfree.chart.JFreeChartcreateThroughputChart(org.jfree.data.category.CategoryDataset dataset) protected org.jfree.chart.JFreeChartcreateThroughputGraph(org.jfree.data.category.CategoryDataset dataset) static org.jfree.chart.JFreeChartcreateUriPercentileChart(org.jfree.data.xy.XYDataset dataset, String uri) static org.jfree.chart.JFreeChartcreateUriThroughputChart(org.jfree.data.xy.IntervalXYDataset dataset, String uri) static org.jfree.chart.JFreeChartdoCreateRespondingTimeChart(org.jfree.data.category.CategoryDataset dataset, int legendLimit) static org.jfree.chart.JFreeChartdoCreateSummarizerChart(org.jfree.data.category.CategoryDataset dataset, String yAxis, String chartTitle) voiddoErrorsGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) voiddoRespondingTimeGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) voiddoRespondingTimeGraphPerTestCaseMode(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) voiddoSummarizerGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) voiddoThroughputGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) getDynamic(String link, org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) Returns the graph configuration for this project.Job<?, ?> getJob()protected PerformanceReportgetPerformanceReport(Run<?, ?> build, String reportFileName) final Run<?, ?> booleanbooleanbooleanifSummarizerParserUsed(String filename) booleanvoidsetPerformanceReportList(List<String> performanceReportList)
-
Field Details
-
job
-
-
Constructor Details
-
PerformanceProjectAction
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction
-
getUrlName
- Specified by:
getUrlNamein interfaceAction
-
createErrorsChart
public static org.jfree.chart.JFreeChart createErrorsChart(org.jfree.data.category.CategoryDataset dataset) -
doCreateRespondingTimeChart
public static org.jfree.chart.JFreeChart doCreateRespondingTimeChart(org.jfree.data.category.CategoryDataset dataset, int legendLimit) -
createThroughputChart
public static org.jfree.chart.JFreeChart createThroughputChart(org.jfree.data.category.CategoryDataset dataset) -
doCreateSummarizerChart
-
createSummarizerTrend
-
createUriPercentileChart
public static org.jfree.chart.JFreeChart createUriPercentileChart(org.jfree.data.xy.XYDataset dataset, String uri) -
createUriThroughputChart
public static org.jfree.chart.JFreeChart createUriThroughputChart(org.jfree.data.xy.IntervalXYDataset dataset, String uri) -
doErrorsGraph
public void doErrorsGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException - Throws:
IOException
-
createErrorsGraph
protected org.jfree.chart.JFreeChart createErrorsGraph(org.jfree.data.category.CategoryDataset dataset) -
doRespondingTimeGraphPerTestCaseMode
public void doRespondingTimeGraphPerTestCaseMode(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException - Throws:
IOException
-
getPerformanceReport
-
createRespondingTimeChart
protected org.jfree.chart.JFreeChart createRespondingTimeChart(org.jfree.data.category.CategoryDataset dataset, int legendLimit) -
doRespondingTimeGraph
public void doRespondingTimeGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException - Throws:
IOException
-
doThroughputGraph
public void doThroughputGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException - Throws:
IOException
-
createThroughputGraph
protected org.jfree.chart.JFreeChart createThroughputGraph(org.jfree.data.category.CategoryDataset dataset) -
doSummarizerGraph
public void doSummarizerGraph(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException - Throws:
IOException
-
createSummarizerChart
-
all
-
getJob
-
getSomeBuildWithWorkspace
-
getPerformanceReportList
-
setPerformanceReportList
-
isTrendVisibleOnProjectDashboard
public boolean isTrendVisibleOnProjectDashboard() -
getDynamic
public Object getDynamic(String link, org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) Returns the graph configuration for this project.- Parameters:
link- not usedrequest- Stapler requestresponse- Stapler response- Returns:
- the dynamic result of the analysis (detail page).
-
ifSummarizerParserUsed
-
ifModePerformancePerTestCaseUsed
public boolean ifModePerformancePerTestCaseUsed() -
ifModeThroughputUsed
public boolean ifModeThroughputUsed()
-