Package jenkins.security.s2m
Class CallableDirectionChecker.ChannelConfiguratorImpl
java.lang.Object
jenkins.security.ChannelConfigurator
jenkins.security.s2m.CallableDirectionChecker.ChannelConfiguratorImpl
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- CallableDirectionChecker
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class)
@Extension
public static class CallableDirectionChecker.ChannelConfiguratorImpl
extends ChannelConfigurator
Installs
CallableDirectionChecker
to every channel.-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onChannelBuilding
(hudson.remoting.ChannelBuilder builder, Object context) Called whenever a new channel is being built.Methods inherited from class jenkins.security.ChannelConfigurator
all
-
Constructor Details
-
ChannelConfiguratorImpl
public ChannelConfiguratorImpl()
-
-
Method Details
-
onChannelBuilding
Description copied from class:ChannelConfigurator
Called whenever a new channel is being built.- Overrides:
onChannelBuilding
in classChannelConfigurator
- Parameters:
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
- When a channel is being established to talk to a agent.
Proc
- When
Channels.forProcess(String, ExecutorService, Process, OutputStream)
or overloads are used without a contextualSlaveComputer
.
-