hudson.plugins.sidebar_link
Class SidebarLinkPlugin

java.lang.Object
  extended by hudson.Plugin
      extended by hudson.plugins.sidebar_link.SidebarLinkPlugin
All Implemented Interfaces:
hudson.model.Saveable

public class SidebarLinkPlugin
extends hudson.Plugin

Add links in the main page sidepanel.

Author:
Alan Harder

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.Plugin
hudson.Plugin.DummyImpl
 
Field Summary
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
SidebarLinkPlugin()
           
 
Method Summary
 void configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 void doUpload(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
          Receive file upload from startUpload.jelly.
 java.util.List<LinkAction> getLinks()
           
 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

SidebarLinkPlugin

public SidebarLinkPlugin()
Method Detail

start

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

getLinks

public java.util.List<LinkAction> getLinks()

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

doUpload

public void doUpload(org.kohsuke.stapler.StaplerRequest req,
                     org.kohsuke.stapler.StaplerResponse rsp)
              throws java.io.IOException,
                     javax.servlet.ServletException,
                     java.lang.InterruptedException
Receive file upload from startUpload.jelly. File is placed in $HUDSON_HOME/userContent directory.

Throws:
java.io.IOException
javax.servlet.ServletException
java.lang.InterruptedException


Copyright © 2004-2011. All Rights Reserved.