Package hudson

Class FilePath.FileCallableWrapperFactory

java.lang.Object
hudson.FilePath.FileCallableWrapperFactory
All Implemented Interfaces:
ExtensionPoint
Enclosing class:
FilePath

public abstract static class FilePath.FileCallableWrapperFactory extends Object implements ExtensionPoint
This extension point allows to contribute a wrapper around a fileCallable so that a plugin can "intercept" a call.

The wrap(hudson.remoting.DelegatingCallable) method itself will be executed on the controller (and may collect contextual data if needed) and the returned wrapper will be executed on remote.

Since:
1.482
See Also:
  • Constructor Details

    • FileCallableWrapperFactory

      public FileCallableWrapperFactory()
  • Method Details

    • wrap

      public abstract <T> hudson.remoting.DelegatingCallable<T,IOException> wrap(hudson.remoting.DelegatingCallable<T,IOException> callable)