hudson.plugins.analysis.collector
Class AnalysisUserGraphConfigurationView

java.lang.Object
  extended by hudson.plugins.analysis.graph.GraphConfigurationView
      extended by hudson.plugins.analysis.graph.UserGraphConfigurationView
          extended by hudson.plugins.analysis.collector.AnalysisUserGraphConfigurationView
All Implemented Interfaces:
hudson.model.ModelObject

public class AnalysisUserGraphConfigurationView
extends hudson.plugins.analysis.graph.UserGraphConfigurationView

Adds some more parameters to the configuration view.

Author:
Ulli Hafner

Constructor Summary
AnalysisUserGraphConfigurationView(AnalysisGraphConfiguration configuration, hudson.model.AbstractProject<?,?> project, java.lang.String pluginName, javax.servlet.http.Cookie[] cookies)
          Creates a new instance of AnalysisUserGraphConfigurationView.
AnalysisUserGraphConfigurationView(AnalysisGraphConfiguration configuration, hudson.model.AbstractProject<?,?> project, java.lang.String pluginName, javax.servlet.http.Cookie[] cookies, hudson.plugins.analysis.core.ResultAction<?> resultAction)
          Creates a new instance of AnalysisUserGraphConfigurationView.
 
Method Summary
 boolean canDeacticateOtherTrendGraphs()
          Returns whether the trend graphs of the other plug-ins could be deactivated.
protected  void persistValue(java.lang.String value, java.lang.String pluginName, org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
          
 
Methods inherited from class hudson.plugins.analysis.graph.UserGraphConfigurationView
createCookieHandler, getDescription, getDisplayName, getUrl
 
Methods inherited from class hudson.plugins.analysis.graph.GraphConfigurationView
createDefaultsFile, doSave, getAvailableGraphs, getBuildCount, getDayCount, getDynamic, getGraphRenderer, getGraphRenderer, getGraphType, getHealthDescriptor, getHeight, getLastAction, getOwner, getPluginName, getRootUrl, getTimestamp, getWidth, hasMeaningfulGraph, isDeactivated, isHealthGraphAvailable, isVisible, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnalysisUserGraphConfigurationView

public AnalysisUserGraphConfigurationView(AnalysisGraphConfiguration configuration,
                                          hudson.model.AbstractProject<?,?> project,
                                          java.lang.String pluginName,
                                          javax.servlet.http.Cookie[] cookies)
Creates a new instance of AnalysisUserGraphConfigurationView.

Parameters:
configuration - the graph configuration
project - the owning project to configure the graphs for
pluginName - The name of the plug-in. Also used as the suffix of the cookie name that is used to persist the configuration per user.
cookies - the cookies containing the graph configuration

AnalysisUserGraphConfigurationView

public AnalysisUserGraphConfigurationView(AnalysisGraphConfiguration configuration,
                                          hudson.model.AbstractProject<?,?> project,
                                          java.lang.String pluginName,
                                          javax.servlet.http.Cookie[] cookies,
                                          hudson.plugins.analysis.core.ResultAction<?> resultAction)
Creates a new instance of AnalysisUserGraphConfigurationView.

Parameters:
configuration - the graph configuration
project - the owning project to configure the graphs for
pluginName - The name of the plug-in. Also used as the suffix of the cookie name that is used to persist the configuration per user.
cookies - the cookies containing the graph configuration
resultAction - the last valid action for this project
Method Detail

persistValue

protected void persistValue(java.lang.String value,
                            java.lang.String pluginName,
                            org.kohsuke.stapler.StaplerRequest request,
                            org.kohsuke.stapler.StaplerResponse response)

Overrides:
persistValue in class hudson.plugins.analysis.graph.UserGraphConfigurationView

canDeacticateOtherTrendGraphs

public boolean canDeacticateOtherTrendGraphs()
Returns whether the trend graphs of the other plug-ins could be deactivated.

Returns:
true if the trend graphs of the other plug-ins could be deactivated


Copyright © 2010. All Rights Reserved.