hudson.plugins.analysis.collector
Class AnalysisDefaultGraphConfigurationView

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

public class AnalysisDefaultGraphConfigurationView
extends hudson.plugins.analysis.graph.DefaultGraphConfigurationView

Adds some more parameters to the configuration view.

Author:
Ulli Hafner

Constructor Summary
AnalysisDefaultGraphConfigurationView(AnalysisGraphConfiguration configuration, hudson.model.AbstractProject<?,?> project, java.lang.String pluginName)
          Creates a new instance of AnalysisDefaultGraphConfigurationView.
AnalysisDefaultGraphConfigurationView(AnalysisGraphConfiguration configuration, hudson.model.AbstractProject<?,?> project, java.lang.String pluginName, hudson.plugins.analysis.core.ResultAction<?> lastAction)
          Creates a new instance of AnalysisDefaultGraphConfigurationView.
 
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.DefaultGraphConfigurationView
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

AnalysisDefaultGraphConfigurationView

public AnalysisDefaultGraphConfigurationView(AnalysisGraphConfiguration configuration,
                                             hudson.model.AbstractProject<?,?> project,
                                             java.lang.String pluginName)
Creates a new instance of AnalysisDefaultGraphConfigurationView.

Parameters:
configuration - the graph configuration
project - the owning project to configure the graphs for
pluginName - The name of the plug-in.

AnalysisDefaultGraphConfigurationView

public AnalysisDefaultGraphConfigurationView(AnalysisGraphConfiguration configuration,
                                             hudson.model.AbstractProject<?,?> project,
                                             java.lang.String pluginName,
                                             hudson.plugins.analysis.core.ResultAction<?> lastAction)
Creates a new instance of AnalysisDefaultGraphConfigurationView.

Parameters:
configuration - the graph configuration
project - the owning project to configure the graphs for
pluginName - The name of the plug-in.
lastAction - 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)
                     throws java.io.FileNotFoundException,
                            java.io.IOException

Overrides:
persistValue in class hudson.plugins.analysis.graph.DefaultGraphConfigurationView
Throws:
java.io.FileNotFoundException
java.io.IOException

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.