Package jenkins.security
Class MasterToSlaveCallable<V,T extends Throwable>
- java.lang.Object
-
- jenkins.security.MasterToSlaveCallable<V,T>
-
- Type Parameters:
V
- the return type; note that this must either be defined in your plugin or included in the stock JEP-200 whitelist
- All Implemented Interfaces:
hudson.remoting.Callable<V,T>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
- Direct Known Subclasses:
ChannelPinger.SetUpRemotePing
public abstract class MasterToSlaveCallable<V,T extends Throwable> extends Object implements hudson.remoting.Callable<V,T>
ConvenientCallable
meant to be run on agent. Note that the logic withinCallable.call()
should use API of a minimum supported Remoting version. SeeRemotingVersionInfo.getMinimumSupportedVersion()
.- Since:
- 1.587 / 1.580.1
- Author:
- Kohsuke Kawaguchi
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MasterToSlaveCallable()
-
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
-
-