hudson.plugins.analysis.collector.dashboard
Class WarningsOriginGraphPortlet

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

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

A portlet that shows the warnings trend graph of warnings by type.

Author:
Ulli Hafner

Nested Class Summary
static class WarningsOriginGraphPortlet.WarningsGraphDescriptor
          Extension point registration.
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
WarningsOriginGraphPortlet(java.lang.String name, java.lang.String width, java.lang.String height, java.lang.String dayCountString)
          Creates a new instance of WarningsOriginGraphPortlet.
 
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, isEmpty
 
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

WarningsOriginGraphPortlet

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

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 © 2004-2011. All Rights Reserved.