hudson.plugins.promoted_builds_simple
Class PromotedBuildsSimplePlugin

java.lang.Object
  extended by hudson.Plugin
      extended by hudson.plugins.promoted_builds_simple.PromotedBuildsSimplePlugin
All Implemented Interfaces:
hudson.model.Saveable

public class PromotedBuildsSimplePlugin
extends hudson.Plugin

Simply add a link in the main page sidepanel.

Author:
Alan.Harder@sun.com

Nested Class Summary
static class PromotedBuildsSimplePlugin.PromotedBuildsRunListener
           
 
Nested classes/interfaces inherited from class hudson.Plugin
hudson.Plugin.DummyImpl
 
Field Summary
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
PromotedBuildsSimplePlugin()
           
 
Method Summary
 void configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 void doMakePromotable(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
           
 java.util.List<PromotionLevel> getLevels()
           
 void start()
           
 
Methods inherited from class hudson.Plugin
configure, doDynamic, getConfigXml, load, postInitialize, save, setServletContext, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PromotedBuildsSimplePlugin

public PromotedBuildsSimplePlugin()
Method Detail

start

public void start()
           throws java.lang.Exception
Overrides:
start in class hudson.Plugin
Throws:
java.lang.Exception

getLevels

public java.util.List<PromotionLevel> getLevels()

configure

public void configure(org.kohsuke.stapler.StaplerRequest req,
                      net.sf.json.JSONObject formData)
               throws java.io.IOException,
                      javax.servlet.ServletException,
                      hudson.model.Descriptor.FormException
Overrides:
configure in class hudson.Plugin
Throws:
java.io.IOException
javax.servlet.ServletException
hudson.model.Descriptor.FormException

doMakePromotable

public void doMakePromotable(org.kohsuke.stapler.StaplerRequest req,
                             org.kohsuke.stapler.StaplerResponse rsp)
                      throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.