org.hudsonci.rest.plugin
Class RestPlugin
java.lang.Object
hudson.Plugin
org.hudsonci.rest.plugin.RestPlugin
- All Implemented Interfaces:
- Saveable
@Named
@Singleton
public class RestPlugin
- extends Plugin
Hudson REST plugin.
- Since:
- 2.1.0
- Author:
- Jason Dillon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RestPlugin
@Inject
public RestPlugin(List<ApiProvider> providers)
isEnabled
public boolean isEnabled()
setEnabled
public void setEnabled(boolean enabled)
enable
public void enable()
- Enable or disable providers based on
enabled flag.
start
public void start()
throws Exception
- Overrides:
start in class Plugin
- Throws:
Exception
postInitialize
public void postInitialize()
throws Exception
- Overrides:
postInitialize in class Plugin
- Throws:
Exception
stop
public void stop()
throws Exception
- Overrides:
stop in class Plugin
- Throws:
Exception
configure
public void configure(org.kohsuke.stapler.StaplerRequest request,
net.sf.json.JSONObject data)
throws IOException,
javax.servlet.ServletException,
Descriptor.FormException
- Overrides:
configure in class Plugin
- Throws:
IOException
javax.servlet.ServletException
Descriptor.FormException
Copyright © 2004-2011 Hudson. All Rights Reserved.