@Restricted(value=org.kohsuke.accmod.restrictions.DoNotUse.class) @Extension public static class CallableDirectionChecker.ChannelConfiguratorImpl extends ChannelConfigurator
CallableDirectionChecker
to every channel.ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
ChannelConfiguratorImpl() |
Modifier and Type | Method and Description |
---|---|
void |
onChannelBuilding(hudson.remoting.ChannelBuilder builder,
Object context)
Called whenever a new channel is being built.
|
all
public void onChannelBuilding(hudson.remoting.ChannelBuilder builder, Object context)
ChannelConfigurator
onChannelBuilding
in class ChannelConfigurator
builder
- Configures the newly built channel. The callee
can call its methods to modify its settings.context
- The parameter that helps the callee determines what this channel is for.
Legacy callers do not always provide this information, in which case this value might be null.
Possible known values include:
SlaveComputer
Proc
Channels.forProcess(String, ExecutorService, Process, OutputStream)
or overloads are used without a contextual SlaveComputer
.
Copyright © 2004–2022. All rights reserved.