@Extension
public class MasterToSlaveProxy
extends jenkins.model.GlobalConfiguration
| Modifier and Type | Field and Description |
|---|---|
static hudson.remoting.ChannelProperty<hudson.remoting.forward.Forwarder> |
FORWARDER_SERVICE |
| Constructor and Description |
|---|
MasterToSlaveProxy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
List<SlaveProxyConfiguration> |
getSlaveProxies() |
void |
setSlaveProxies(List<SlaveProxyConfiguration> slaveProxies) |
hudson.remoting.forward.Forwarder |
startProxy(hudson.remoting.Channel channel,
hudson.model.TaskListener listener)
Starts the HTTP proxy service over this channel, and attach the access coordinate as the channel property.
|
all, getDescriptor, getDisplayName, getGlobalConfigPageaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic static final hudson.remoting.ChannelProperty<hudson.remoting.forward.Forwarder> FORWARDER_SERVICE
public List<SlaveProxyConfiguration> getSlaveProxies()
public void setSlaveProxies(List<SlaveProxyConfiguration> slaveProxies)
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<jenkins.model.GlobalConfiguration>hudson.model.Descriptor.FormExceptionpublic hudson.remoting.forward.Forwarder startProxy(hudson.remoting.Channel channel,
hudson.model.TaskListener listener)
throws InterruptedException,
IOException
channel.getProperty(FORWARDER_SERVICE).InterruptedExceptionIOExceptionCopyright © 2004-2013. All Rights Reserved.