Class JarURLValidatorImpl

  • All Implemented Interfaces:
    ExtensionPoint, hudson.remoting.JarURLValidator

    @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
    @Deprecated
    @Extension
    public class JarURLValidatorImpl
    extends ChannelConfigurator
    implements hudson.remoting.JarURLValidator
    Deprecated.
    • Field Detail

      • LOGGER

        public static final Logger LOGGER
        Deprecated.
    • Constructor Detail

      • JarURLValidatorImpl

        public JarURLValidatorImpl()
        Deprecated.
    • Method Detail

      • onChannelBuilding

        public void onChannelBuilding​(hudson.remoting.ChannelBuilder builder,
                                      @Nullable
                                      Object context)
        Deprecated.
        Description copied from class: ChannelConfigurator
        Called whenever a new channel is being built.
        Overrides:
        onChannelBuilding in class ChannelConfigurator
        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 contextual SlaveComputer.
      • validate

        public void validate​(URL url)
                      throws IOException
        Deprecated.
        Specified by:
        validate in interface hudson.remoting.JarURLValidator
        Throws:
        IOException