|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.analysis.graph.GraphConfigurationView
hudson.plugins.analysis.graph.UserGraphConfigurationView
public class UserGraphConfigurationView
Configures the trend graph of this plug-in for the current user and job using a cookie.
| Constructor Summary | |
|---|---|
UserGraphConfigurationView(GraphConfiguration configuration,
hudson.model.AbstractProject<?,?> project,
String projectActionUrl,
javax.servlet.http.Cookie[] cookies,
BuildHistory buildHistory)
Creates a new instance of UserGraphConfigurationView. |
|
UserGraphConfigurationView(GraphConfiguration configuration,
hudson.model.AbstractProject<?,?> project,
String projectActionUrl,
String globalFileName,
javax.servlet.http.Cookie[] cookies,
BuildHistory buildHistory)
Creates a new instance of UserGraphConfigurationView. |
|
| Method Summary | |
|---|---|
protected static CookieHandler |
createCookieHandler(String cookieName)
Creates a new cookie handler to convert the cookie to a string value. |
String |
getDescription()
Returns the description for this view. |
String |
getDisplayName()
|
String |
getUrl()
Returns the URL of this object. |
protected void |
persistValue(String value,
String pluginName,
org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Persists the configured values. |
| Methods inherited from class hudson.plugins.analysis.graph.GraphConfigurationView |
|---|
createDefaultsFile, doSave, getAvailableGraphs, getBuildCount, getBuildCountString, getDayCount, getDayCountString, getDynamic, getGraphRenderer, getGraphRenderer, getGraphRenderer, getGraphType, getHealthDescriptor, getHeight, getKey, getOwner, getTimestamp, getUseBuildDateAsDomain, 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 |
|---|
public UserGraphConfigurationView(GraphConfiguration configuration,
hudson.model.AbstractProject<?,?> project,
String projectActionUrl,
String globalFileName,
javax.servlet.http.Cookie[] cookies,
BuildHistory buildHistory)
UserGraphConfigurationView.
configuration - the graph configurationproject - the owning project to configure the graphs forprojectActionUrl - The URL of the project action (used as cookie ID)globalFileName - The file name of the global configurationcookies - the cookies containing the graph configurationbuildHistory - the build history for this project
public UserGraphConfigurationView(GraphConfiguration configuration,
hudson.model.AbstractProject<?,?> project,
String projectActionUrl,
javax.servlet.http.Cookie[] cookies,
BuildHistory buildHistory)
UserGraphConfigurationView.
configuration - the graph configurationproject - the owning project to configure the graphs forprojectActionUrl - The URL of the project actioncookies - the cookies containing the graph configurationbuildHistory - the build history for this project| Method Detail |
|---|
protected static CookieHandler createCookieHandler(String cookieName)
cookieName - the suffix of the cookie name that is used to persist the
configuration per user
public String getDisplayName()
public String getDescription()
GraphConfigurationView
getDescription in class GraphConfigurationViewpublic String getUrl()
protected void persistValue(String value,
String pluginName,
org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
GraphConfigurationView
persistValue in class GraphConfigurationViewvalue - the values configured by the user.pluginName - the name of the plug-inrequest - Stapler requestresponse - Stapler response
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||