hudson.plugins.tasks.dashboard
Class WarningsTotalsGraphPortlet

java.lang.Object
  extended by hudson.plugins.view.dashboard.DashboardPortlet
      extended by hudson.plugins.analysis.dashboard.AbstractPortlet
          extended by hudson.plugins.analysis.dashboard.AbstractWarningsGraphPortlet
              extended by hudson.plugins.tasks.dashboard.WarningsTotalsGraphPortlet
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.plugins.view.dashboard.DashboardPortlet>, hudson.model.ModelObject

public final class WarningsTotalsGraphPortlet
extends hudson.plugins.analysis.dashboard.AbstractWarningsGraphPortlet

A portlet that shows the warnings trend graph by priority.

Author:
Ulli Hafner

Nested Class Summary
static class WarningsTotalsGraphPortlet.WarningsGraphDescriptor
          Extension point registration.
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
WarningsTotalsGraphPortlet(String name, String width, String height, String dayCountString)
          Creates a new instance of WarningsTotalsGraphPortlet.
 
Method Summary
protected  Class<? extends hudson.plugins.analysis.core.AbstractProjectAction<?>> getAction()
           
protected  hudson.plugins.analysis.graph.BuildResultGraph getGraphType()
           
protected  String getPluginName()
           
 
Methods inherited from class hudson.plugins.analysis.dashboard.AbstractWarningsGraphPortlet
configureGraph, getDayCountString, getDescription, getHeight, getWarningsGraph, getWidth, isEmpty, selectAction
 
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

WarningsTotalsGraphPortlet

@DataBoundConstructor
public WarningsTotalsGraphPortlet(String name,
                                                       String width,
                                                       String height,
                                                       String dayCountString)
Creates a new instance of WarningsTotalsGraphPortlet.

Parameters:
name - the name of the portlet
width - width of the graph
height - height of the graph
dayCountString - number of days to consider
Method Detail

getAction

protected Class<? extends hudson.plugins.analysis.core.AbstractProjectAction<?>> getAction()
Specified by:
getAction in class hudson.plugins.analysis.dashboard.AbstractPortlet

getPluginName

protected String getPluginName()
Specified by:
getPluginName in class hudson.plugins.analysis.dashboard.AbstractWarningsGraphPortlet

getGraphType

protected hudson.plugins.analysis.graph.BuildResultGraph getGraphType()
Specified by:
getGraphType in class hudson.plugins.analysis.dashboard.AbstractWarningsGraphPortlet


Copyright © 2004-2012 Hudson. All Rights Reserved.