|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.view.dashboard.DashboardPortlet
hudson.plugins.analysis.dashboard.AbstractPortlet
hudson.plugins.analysis.dashboard.AbstractWarningsGraphPortlet
public abstract class AbstractWarningsGraphPortlet
A portlet that shows a trend graph of the warnings in the selected jobs.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Constructor Summary | |
|---|---|
AbstractWarningsGraphPortlet(String name,
String width,
String height,
String dayCountString)
Creates a new instance of AbstractWarningsGraphPortlet. |
|
| Method Summary | |
|---|---|
protected void |
configureGraph(BuildResultGraph graph)
Configures the graph configuration. |
String |
getDayCountString()
Returns the number of days to consider. |
String |
getDescription()
Returns the description of the trend graph. |
protected abstract BuildResultGraph |
getGraphType()
Returns the graph type of this portlet. |
int |
getHeight()
Returns the height. |
protected abstract String |
getPluginName()
Returns the name of the plug-in that is used to create the link to the results. |
hudson.util.Graph |
getWarningsGraph()
Returns the trend graph for specified jobs. |
int |
getWidth()
Returns the width. |
boolean |
isEmpty()
Checks if the results are empty. |
protected AbstractProjectAction<?> |
selectAction(hudson.model.Job<?,?> job)
Selects the action to show the results from. |
| Methods inherited from class hudson.plugins.analysis.dashboard.AbstractPortlet |
|---|
getAction |
| Methods inherited from class hudson.plugins.view.dashboard.DashboardPortlet |
|---|
all, getComparator, getDashboard, getDescriptor, getDisplayName, getId, getJob, getName, getUrl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractWarningsGraphPortlet(String name,
String width,
String height,
String dayCountString)
AbstractWarningsGraphPortlet. Note that
each instance must configure its graph in the constructor.
name - the name of the portletwidth - width of the graphheight - height of the graphdayCountString - number of days to considerconfigures the graph| Method Detail |
|---|
protected final void configureGraph(BuildResultGraph graph)
graph - the graph to showpublic String getDescription()
protected abstract BuildResultGraph getGraphType()
public hudson.util.Graph getWarningsGraph()
protected abstract String getPluginName()
public boolean isEmpty()
true if the results are empty, false otherwiseprotected AbstractProjectAction<?> selectAction(hudson.model.Job<?,?> job)
job - the job to get the action from
public int getHeight()
public int getWidth()
public String getDayCountString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||