hudson.remoting
Interface CallableFilter


public interface CallableFilter

Decorator on Callable.call() to filter the execution.

Author:
Kohsuke Kawaguchi

Method Summary
<V> V
call(java.util.concurrent.Callable<V> callable)
          This implementation should normally look something like this:
 

Method Detail

call

<V> V call(java.util.concurrent.Callable<V> callable)
       throws java.lang.Exception
This implementation should normally look something like this:
 V call(Callable c) {
     doSomePrep();
     try {
         return c.call();
     } finally {
         doSomeCleanUp();
     }
 }
 

Throws:
java.lang.Exception


Copyright © 2013. All Rights Reserved.