hudson.plugins.global_build_stats
Class GlobalBuildStatsPlugin.GlobalBuildStatsApi

java.lang.Object
  extended by hudson.model.AbstractModelObject
      extended by hudson.model.Api
          extended by hudson.plugins.global_build_stats.GlobalBuildStatsPlugin.GlobalBuildStatsApi
All Implemented Interfaces:
hudson.model.ModelObject, hudson.search.SearchableModelObject, hudson.search.SearchItem
Enclosing class:
GlobalBuildStatsPlugin

public static class GlobalBuildStatsPlugin.GlobalBuildStatsApi
extends hudson.model.Api

Hack allowing to either generate plugin informations (build stat configurations) OR generate chart data for a given buildStatConfigId request parameter

Author:
fcamblor

Field Summary
 
Fields inherited from class hudson.model.Api
bean
 
Constructor Summary
GlobalBuildStatsPlugin.GlobalBuildStatsApi(java.lang.Object bean)
           
 
Method Summary
 void doJson(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 void doPython(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 
Methods inherited from class hudson.model.Api
doSchema, doXml, getDisplayName, getSearchUrl
 
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalBuildStatsPlugin.GlobalBuildStatsApi

public GlobalBuildStatsPlugin.GlobalBuildStatsApi(java.lang.Object bean)
Method Detail

doJson

public void doJson(org.kohsuke.stapler.StaplerRequest req,
                   org.kohsuke.stapler.StaplerResponse rsp)
            throws java.io.IOException,
                   javax.servlet.ServletException
Overrides:
doJson in class hudson.model.Api
Throws:
java.io.IOException
javax.servlet.ServletException

doPython

public void doPython(org.kohsuke.stapler.StaplerRequest req,
                     org.kohsuke.stapler.StaplerResponse rsp)
              throws java.io.IOException,
                     javax.servlet.ServletException
Overrides:
doPython in class hudson.model.Api
Throws:
java.io.IOException
javax.servlet.ServletException


Copyright © 2010. All Rights Reserved.