Class SlaveToMasterCallable<V,T extends Throwable>

java.lang.Object
jenkins.security.SlaveToMasterCallable<V,T>
All Implemented Interfaces:
hudson.remoting.Callable<V,T>, Serializable, org.jenkinsci.remoting.RoleSensitive

public abstract class SlaveToMasterCallable<V,T extends Throwable> extends Object implements hudson.remoting.Callable<V,T>
Convenient Callable that are meant to run on the master (sent by agent/CLI/etc). Note that any serializable fields must either be defined in your plugin or included in the stock JEP-200 whitelist.
Since:
1.587 / 1.580.1
Author:
Kohsuke Kawaguchi
See Also:
  • Constructor Details

    • SlaveToMasterCallable

      public SlaveToMasterCallable()
  • Method Details

    • checkRoles

      public void checkRoles(org.jenkinsci.remoting.RoleChecker checker) throws SecurityException
      Specified by:
      checkRoles in interface org.jenkinsci.remoting.RoleSensitive
      Throws:
      SecurityException