hudson.plugins.projectbuildtimes
Class BuildTimesChart

java.lang.Object
  extended by hudson.plugins.view.dashboard.DashboardPortlet
      extended by hudson.plugins.projectbuildtimes.BuildTimesChart
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.plugins.view.dashboard.DashboardPortlet>, hudson.model.ModelObject

public class BuildTimesChart
extends hudson.plugins.view.dashboard.DashboardPortlet


Nested Class Summary
static class BuildTimesChart.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
BuildTimesChart(String name, int graphWidth, int graphHeight, String display, int dateRange, int dateShift, boolean stacked)
           
 
Method Summary
 hudson.util.Graph createLineGraph(Map<String,Map<org.joda.time.LocalDate,BuildTimesSummary>> summaryMap)
           
 hudson.util.Graph createStackedGraph(Map<String,Map<org.joda.time.LocalDate,BuildTimesSummary>> summaryMap)
           
 int getDateRange()
           
 int getDateShift()
           
 int getGraphHeight()
           
 int getGraphWidth()
           
 boolean getStacked()
           
 hudson.util.Graph getSummaryGraph()
          Graph of duration of tests over time.
 
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

BuildTimesChart

@DataBoundConstructor
public BuildTimesChart(String name,
                                            int graphWidth,
                                            int graphHeight,
                                            String display,
                                            int dateRange,
                                            int dateShift,
                                            boolean stacked)
Method Detail

getDateRange

public int getDateRange()

getDateShift

public int getDateShift()

getGraphWidth

public int getGraphWidth()

getGraphHeight

public int getGraphHeight()

getStacked

public boolean getStacked()

getSummaryGraph

public hudson.util.Graph getSummaryGraph()
Graph of duration of tests over time.


createStackedGraph

public hudson.util.Graph createStackedGraph(Map<String,Map<org.joda.time.LocalDate,BuildTimesSummary>> summaryMap)

createLineGraph

public hudson.util.Graph createLineGraph(Map<String,Map<org.joda.time.LocalDate,BuildTimesSummary>> summaryMap)


Copyright © 2004-2014. All Rights Reserved.