public class AWSDeviceFarmGraph
extends hudson.util.Graph
Modifier and Type | Field and Description |
---|---|
static Color |
DurationColor |
static Color |
FailColor |
static Color |
FrameColor |
static Color |
PassColor |
static Color |
WarnColor |
Constructor and Description |
---|
AWSDeviceFarmGraph(hudson.model.AbstractBuild<?,?> owner,
Boolean isCompleted,
hudson.util.Area size,
org.jfree.data.category.CategoryDataset dataset,
String xLabel,
String yLabel,
Color... colors) |
Modifier and Type | Method and Description |
---|---|
static hudson.util.Graph |
createDurationTrendGraph(hudson.model.AbstractBuild<?,?> owner,
Boolean isCompleted,
List<AWSDeviceFarmTestResult> results)
Generate a duration trend graph for device minutes used for recent results.
|
protected org.jfree.chart.JFreeChart |
createGraph()
Create graph based on the given dataset and constraints.
|
static hudson.util.Graph |
createResultTrendGraph(hudson.model.AbstractBuild<?,?> owner,
Boolean isCompleted,
List<AWSDeviceFarmTestResult> results)
Generate a results (pass/warn/fail) trend graph for recent results.
|
public static final Color PassColor
public static final Color WarnColor
public static final Color FailColor
public static final Color DurationColor
public static final Color FrameColor
protected org.jfree.chart.JFreeChart createGraph()
createGraph
in class hudson.util.Graph
public static hudson.util.Graph createResultTrendGraph(hudson.model.AbstractBuild<?,?> owner, Boolean isCompleted, List<AWSDeviceFarmTestResult> results)
owner
- The build which owns the latest result.isCompleted
- The flag to denote if the result is completed which determines our caching.results
- The list of previous to latest results which generate the trend.public static hudson.util.Graph createDurationTrendGraph(hudson.model.AbstractBuild<?,?> owner, Boolean isCompleted, List<AWSDeviceFarmTestResult> results)
owner
- The build which owns the latest result.isCompleted
- The flag to denote if the result is completed which determines our caching.results
- The list of previous to latest results which generate the trend.Copyright © 2016–2024. All rights reserved.