Package jenkins.security
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>
ConvenientCallable
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SlaveToMasterCallable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkRoles(org.jenkinsci.remoting.RoleChecker checker)
-
-
-
Method Detail
-
checkRoles
public void checkRoles(org.jenkinsci.remoting.RoleChecker checker) throws SecurityException
- Specified by:
checkRoles
in interfaceorg.jenkinsci.remoting.RoleSensitive
- Throws:
SecurityException
-
-