public abstract static class FilePath.AbstractInterceptorCallableWrapper<T> extends Object implements hudson.remoting.DelegatingCallable<T,IOException>
DelegatingCallable
that exposes an Before/After pattern for
FilePath.FileCallableWrapperFactory
that want to implement AOP-style interceptorsConstructor and Description |
---|
AbstractInterceptorCallableWrapper(hudson.remoting.DelegatingCallable<T,IOException> callable) |
Modifier and Type | Method and Description |
---|---|
protected void |
after()
Executed after the actual FileCallable is invoked (even if this one failed).
|
protected void |
before()
Executed before the actual FileCallable is invoked.
|
T |
call() |
ClassLoader |
getClassLoader() |
public AbstractInterceptorCallableWrapper(hudson.remoting.DelegatingCallable<T,IOException> callable)
public final ClassLoader getClassLoader()
getClassLoader
in interface hudson.remoting.DelegatingCallable<T,IOException>
public final T call() throws IOException
call
in interface hudson.remoting.Callable<T,IOException>
IOException
protected void before()
protected void after()
Copyright © 2004–2021. All rights reserved.