hudson.plugins.swarm
Class PluginImpl
java.lang.Object
hudson.Plugin
hudson.plugins.swarm.PluginImpl
- All Implemented Interfaces:
- hudson.model.Saveable
public class PluginImpl
- extends hudson.Plugin
Exposes an entry point to add a new swarm slave.
- Author:
- Kohsuke Kawaguchi
| Nested classes/interfaces inherited from class hudson.Plugin |
hudson.Plugin.DummyImpl |
| Fields inherited from interface hudson.model.Saveable |
NOOP |
|
Method Summary |
void |
doCreateSlave(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
String name,
String description,
int executors,
String remoteFsRoot,
String labels,
String secret,
hudson.model.Node.Mode mode)
Adds a new swarm slave. |
void |
doSlaveInfo(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
|
| Methods inherited from class hudson.Plugin |
configure, configure, doDynamic, getConfigXml, getWrapper, load, postInitialize, save, setServletContext, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginImpl
public PluginImpl()
doCreateSlave
public void doCreateSlave(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
@QueryParameter
String name,
@QueryParameter
String description,
@QueryParameter
int executors,
@QueryParameter
String remoteFsRoot,
@QueryParameter
String labels,
@QueryParameter
String secret,
@QueryParameter
hudson.model.Node.Mode mode)
throws IOException,
hudson.model.Descriptor.FormException
- Adds a new swarm slave.
- Throws:
IOException
hudson.model.Descriptor.FormException
doSlaveInfo
public void doSlaveInfo(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException
- Throws:
IOException
Copyright © 2004-2014. All Rights Reserved.