hudson.plugins.warnings.dashboard
Class WarningsPriorityGraphPortlet

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.warnings.dashboard.WarningsPriorityGraphPortlet
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.plugins.view.dashboard.DashboardPortlet>, hudson.model.ModelObject

public class WarningsPriorityGraphPortlet
extends hudson.plugins.analysis.dashboard.AbstractWarningsGraphPortlet

A portlet that shows the warnings trend graph by priority.

Author:
Ulli Hafner

Nested Class Summary
static class WarningsPriorityGraphPortlet.WarningsGraphDescriptor
          Extension point registration.
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
WarningsPriorityGraphPortlet(java.lang.String name, java.lang.String width, java.lang.String height, java.lang.String dayCountString)
          Creates a new instance of WarningsPriorityGraphPortlet.
 
Method Summary
protected  java.lang.Class<? extends hudson.plugins.analysis.core.AbstractProjectAction<?>> getAction()
          
protected  hudson.plugins.analysis.graph.BuildResultGraph getGraphType()
          
protected  java.lang.String getPluginName()
          
 
Methods inherited from class hudson.plugins.analysis.dashboard.AbstractWarningsGraphPortlet
getDayCountString, getHeight, getWarningsGraph, getWidth
 
Methods inherited from class hudson.plugins.analysis.dashboard.AbstractPortlet
isDashboardViewInstalled
 
Methods inherited from class hudson.plugins.view.dashboard.DashboardPortlet
all, getDashboard, getDescriptor, getDisplayName, getJob, getName, getUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WarningsPriorityGraphPortlet

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

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 java.lang.Class<? extends hudson.plugins.analysis.core.AbstractProjectAction<?>> getAction()

Specified by:
getAction in class hudson.plugins.analysis.dashboard.AbstractPortlet

getPluginName

protected java.lang.String getPluginName()

Specified by:
getPluginName in class hudson.plugins.analysis.dashboard.AbstractPortlet

getGraphType

protected hudson.plugins.analysis.graph.BuildResultGraph getGraphType()

Specified by:
getGraphType in class hudson.plugins.analysis.dashboard.AbstractWarningsGraphPortlet


Copyright © 2010. All Rights Reserved.