Package hudson.plugins.robot.graph
Class RobotGraphHelper
- java.lang.Object
-
- hudson.plugins.robot.graph.RobotGraphHelper
-
public class RobotGraphHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description RobotGraphHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RobotGraph
createDurationGraphForTestObject(RobotTestObject rootObject, boolean hd, int maxBuildsToShow, String labelFormat, boolean preview)
Create a duration trend graph.static RobotGraph
createTestResultsGraphForTestObject(RobotTestObject rootObject, boolean significantData, boolean binarydata, boolean hd, boolean failedOnly, boolean criticalOnly, String labelFormat, int maxBuildsToShow)
Create a test result trend graph.
-
-
-
Method Detail
-
createTestResultsGraphForTestObject
public static RobotGraph createTestResultsGraphForTestObject(RobotTestObject rootObject, boolean significantData, boolean binarydata, boolean hd, boolean failedOnly, boolean criticalOnly, String labelFormat, int maxBuildsToShow)
Create a test result trend graph. The graph will ignore builds with no robot results.- Parameters:
significantData
- True if graph has significant databinarydata
- Binary datacriticalOnly
- True if graph only critical testshd
- True if you want a larger imagelabelFormat
- Label formatrootObject
- The dataset will be taken from rootObject backwards. (i.e. there are no saved robot results in a given build)failedOnly
- put test failures onto the graph only, to allow focus on test failuresmaxBuildsToShow
- This maximum number of build result will be displayed on a graph 0 - no limits applied.- Returns:
- Created graph
-
createDurationGraphForTestObject
public static RobotGraph createDurationGraphForTestObject(RobotTestObject rootObject, boolean hd, int maxBuildsToShow, String labelFormat, boolean preview)
Create a duration trend graph. The graph will ignore builds with no robot results.- Parameters:
rootObject
- rootObject The dataset will be taken from rootObject backwards.labelFormat
- Label formathd
- True if you want a larger imagepreview
- True if you want to enable previewmaxBuildsToShow
- Maximum amount of builds to show in the graph- Returns:
- Created graph
-
-