|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.util.Graph
com.sonyericsson.jenkins.plugins.bfa.graphs.BFAGraph
public abstract class BFAGraph
Graph for the BFA plugin.
Field Summary | |
---|---|
protected GraphFilterBuilder |
filter
The data filter used for this graph. |
protected static String |
GRAPH_OTHERS
The name of the cause/category of all non-displayed elements. |
protected static String |
GRAPH_UNCATEGORIZED
Name for the category for failures without category. |
protected static String |
GRAPH_UNKNOWN
Name for the failures without a corresponding failure cause. |
protected String |
graphTitle
The title of the graph. |
protected static int |
MAX_GRAPH_ELEMENTS
Max number of causes or categories to show in graphs. |
static int |
MAX_YEARS_FOR_TIME_GRAPH
Max number of years to display in time graphs. |
protected hudson.model.AbstractProject |
project
The project that this graph is plotting values for. |
Constructor Summary | |
---|---|
protected |
BFAGraph(long timestamp,
int defaultW,
int defaultH,
hudson.model.AbstractProject project,
GraphFilterBuilder filter,
String graphTitle)
Default constructor. |
Method Summary | |
---|---|
static List<Integer> |
getBuildNumbers(hudson.model.AbstractProject project)
Gets a list of build numbers that exist for the argument project. |
Methods inherited from class hudson.util.Graph |
---|
createGraph, doMap, doPng |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected hudson.model.AbstractProject project
protected GraphFilterBuilder filter
protected String graphTitle
protected static final int MAX_GRAPH_ELEMENTS
protected static final String GRAPH_OTHERS
protected static final String GRAPH_UNCATEGORIZED
protected static final String GRAPH_UNKNOWN
public static final int MAX_YEARS_FOR_TIME_GRAPH
Constructor Detail |
---|
protected BFAGraph(long timestamp, int defaultW, int defaultH, hudson.model.AbstractProject project, GraphFilterBuilder filter, String graphTitle)
timestamp
- timestamp for this project graph, used for HTTP caching. Set
to -1 if timestamp is not needed.defaultW
- width of the graph in pixelsdefaultH
- height of the graph in pixelsproject
- the parent project of this graph, set to null for non-project
graphsfilter
- the filter used when fetching data for this graphgraphTitle
- The title of the graphMethod Detail |
---|
public static List<Integer> getBuildNumbers(hudson.model.AbstractProject project)
project
- the project to list build numbers for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |