jenkins.plugins.build_metrics
Class BuildMetricsPlugin

java.lang.Object
  extended by hudson.Plugin
      extended by jenkins.plugins.build_metrics.BuildMetricsPlugin
All Implemented Interfaces:
hudson.model.Saveable

@ExportedBean
public class BuildMetricsPlugin
extends hudson.Plugin

Entry point of the build metrics plugin

Author:
mgoss

Nested Class Summary
static class BuildMetricsPlugin.BuildMetricsPluginManagementLink
          Let's add a link in the administration panel linking to the build metrics search page
 
Nested classes/interfaces inherited from class hudson.Plugin
hudson.Plugin.DummyImpl
 
Field Summary
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
BuildMetricsPlugin()
           
 
Method Summary
 void doGetBuildStats(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse res)
           
static java.lang.String escapeAntiSlashes(java.lang.String value)
          Copied from GlobalBuildStatsPlugin
static java.lang.String getFieldFilterALL()
          Copied from GlobalBuildStatsPlugin
static java.lang.String getFieldFilterRegex()
          Copied from GlobalBuildStatsPlugin
 
Methods inherited from class hudson.Plugin
configure, configure, doDynamic, getConfigXml, load, postInitialize, save, setServletContext, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildMetricsPlugin

public BuildMetricsPlugin()
Method Detail

doGetBuildStats

public void doGetBuildStats(org.kohsuke.stapler.StaplerRequest req,
                            org.kohsuke.stapler.StaplerResponse res)
                     throws javax.servlet.ServletException,
                            java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException

escapeAntiSlashes

public static java.lang.String escapeAntiSlashes(java.lang.String value)
Copied from GlobalBuildStatsPlugin

Parameters:
value - Parameter which should be escaped
Returns:
value where "\" are escaped

getFieldFilterALL

public static java.lang.String getFieldFilterALL()
Copied from GlobalBuildStatsPlugin

Returns:
FieldFilterFactory.ALL_VALUES_FILTER_LABEL

getFieldFilterRegex

public static java.lang.String getFieldFilterRegex()
Copied from GlobalBuildStatsPlugin

Returns:
FieldFilterFactory.REGEX_FIELD_FILTER_LABEL


Copyright © 2004-2012. All Rights Reserved.