|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.findbugs.util.GraphConfiguration
hudson.plugins.findbugs.util.GraphConfigurationDetail
public abstract class GraphConfigurationDetail
Configures the trend graph of this plug-in.
| Field Summary |
|---|
| Fields inherited from class hudson.plugins.findbugs.util.GraphConfiguration |
|---|
DEFAULT_HEIGHT, DEFAULT_WIDTH |
| Constructor Summary | |
|---|---|
GraphConfigurationDetail(hudson.model.AbstractProject<?,?> project,
java.lang.String pluginName,
java.lang.String value)
Creates a new instance of GraphConfigurationDetail. |
|
GraphConfigurationDetail(hudson.model.AbstractProject<?,?> project,
java.lang.String pluginName,
java.lang.String value,
ResultAction<?> lastAction)
Creates a new instance of GraphConfigurationDetail. |
|
| Method Summary | |
|---|---|
static hudson.util.FormValidation |
checkHeight(java.lang.String height)
Performs on-the-fly validation on the trend graph height. |
protected static java.io.File |
createDefaultsFile(hudson.model.AbstractProject<?,?> project,
java.lang.String pluginName)
Creates a file with for the default values. |
void |
doDifference(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Draws a PNG image with a graph with warning differences. |
void |
doDifferenceMap(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Draws a MAP with the warnings difference graph. |
void |
doFixed(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Draws a PNG image with the new versus fixed warnings graph. |
void |
doFixedMap(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Draws a MAP with the new versus fixed warnings graph. |
void |
doHealth(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Draws a PNG image with a graph with warnings by health thresholds. |
void |
doHealthMap(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Draws a MAP with a graph with warnings by health thresholds. |
void |
doPriority(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Draws a PNG image with a graph with warnings by priority. |
void |
doPriorityMap(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Draws a MAP width a graph with warnings by priority. |
void |
doSave(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Saves the configured values. |
java.lang.String |
getBuildCountString()
Returns the build count as a string. |
java.lang.String |
getDayCountString()
Returns the day count as a string. |
abstract java.lang.String |
getDescription()
Returns the description for this view. |
hudson.model.AbstractProject<?,?> |
getOwner()
Returns the project. |
java.lang.String |
getPluginName()
Returns the plug-in name. |
java.lang.String |
getRootUrl()
Returns the root URL of this object. |
boolean |
hasMeaningfulGraph()
Checks whether a meaningful graph is available. |
boolean |
isHealthGraphAvailable()
Checks if the health graph is available. |
protected abstract void |
persistValue(java.lang.String value,
org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
Persists the configured values. |
| Methods inherited from class hudson.plugins.findbugs.util.GraphConfiguration |
|---|
createGraph, getBuildCount, getDayCount, getGraphType, getHeight, getWidth, isBuildCountDefined, isDayCountDefined, isDefault, isValid, isValidBuildCount, isValidHeight, isValidWidth, isVisible, serializeToString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface hudson.model.ModelObject |
|---|
getDisplayName |
| Constructor Detail |
|---|
public GraphConfigurationDetail(hudson.model.AbstractProject<?,?> project,
java.lang.String pluginName,
java.lang.String value)
GraphConfigurationDetail.
project - the owning project to configure the graphs forpluginName - the name of the plug-invalue - the initial value of this configuration
public GraphConfigurationDetail(hudson.model.AbstractProject<?,?> project,
java.lang.String pluginName,
java.lang.String value,
ResultAction<?> lastAction)
GraphConfigurationDetail.
project - the owning project to configure the graphs forpluginName - the name of the plug-invalue - the initial value of this configurationlastAction - the last valid action for this project| Method Detail |
|---|
protected static java.io.File createDefaultsFile(hudson.model.AbstractProject<?,?> project,
java.lang.String pluginName)
project - the project used as directory for the filepluginName - the name of the plug-in
public hudson.model.AbstractProject<?,?> getOwner()
public java.lang.String getRootUrl()
public java.lang.String getPluginName()
public abstract java.lang.String getDescription()
public void doSave(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
request - Stapler requestresponse - Stapler responsepublic static hudson.util.FormValidation checkHeight(java.lang.String height)
height - the height
public boolean hasMeaningfulGraph()
true, if there is such a graph
protected abstract void persistValue(java.lang.String value,
org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
throws java.io.IOException
value - the values configured by the user.request - Stapler requestresponse - Stapler response
java.io.IOException - if the values could not be persistedpublic java.lang.String getBuildCountString()
public java.lang.String getDayCountString()
public void doFixed(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
request - the requestresponse - the response
public void doFixedMap(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
request - the requestresponse - the response
public void doDifference(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
request - the requestresponse - the response
public void doDifferenceMap(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
request - the requestresponse - the response
public void doPriority(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
request - the requestresponse - the response
public void doPriorityMap(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
request - the requestresponse - the responsepublic boolean isHealthGraphAvailable()
true, if the health graph is available
public void doHealth(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
request - the requestresponse - the response
public void doHealthMap(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response)
request - the requestresponse - the response
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||