hudson.plugins.dbcharts
Class DbChartAction

java.lang.Object
  extended by hudson.plugins.dbcharts.DbChartAction
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject

public class DbChartAction
extends java.lang.Object
implements hudson.model.Action


Constructor Summary
DbChartAction(hudson.model.AbstractProject project, DbChartPublisher publisher)
           
 
Method Summary
 void doTrend(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
          Display the trend graph.
 void doTrendMap(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
          Display the trend map.
 Chart getChartByName(java.lang.String name)
           
 java.util.List<Chart> getCharts()
           
 java.lang.String getDisplayName()
           
 java.lang.String getIconFileName()
           
 java.lang.String getUrlName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbChartAction

public DbChartAction(hudson.model.AbstractProject project,
                     DbChartPublisher publisher)
Method Detail

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject

getIconFileName

public java.lang.String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action

getUrlName

public java.lang.String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action

getCharts

public java.util.List<Chart> getCharts()

getChartByName

public Chart getChartByName(java.lang.String name)

doTrendMap

public void doTrendMap(org.kohsuke.stapler.StaplerRequest request,
                       org.kohsuke.stapler.StaplerResponse response)
                throws java.io.IOException,
                       java.lang.ClassNotFoundException,
                       java.sql.SQLException
Display the trend map. Delegates to the the associated ResultAction.

Parameters:
request - Stapler request
response - Stapler response
Throws:
java.io.IOException - in case of an error
java.sql.SQLException
java.lang.ClassNotFoundException

doTrend

public void doTrend(org.kohsuke.stapler.StaplerRequest request,
                    org.kohsuke.stapler.StaplerResponse response)
             throws java.io.IOException
Display the trend graph. Delegates to the the associated ResultAction.

Parameters:
request - Stapler request
response - Stapler response
Throws:
java.io.IOException - in case of an error in ResultAction#doGraph(StaplerRequest, StaplerResponse, int)


Copyright © 2009. All Rights Reserved.