Package jenkins
Class MasterToSlaveFileCallable<T>
- java.lang.Object
-
- jenkins.MasterToSlaveFileCallable<T>
-
- Type Parameters:
T
- the return type; note that this must either be defined in your plugin or included in the stock JEP-200 whitelist
- All Implemented Interfaces:
FilePath.FileCallable<T>
,Serializable
,org.jenkinsci.remoting.RoleSensitive
- Direct Known Subclasses:
DiskSpaceMonitorDescriptor.GetUsableSpace
,TemporarySpaceMonitor.GetTempSpace
public abstract class MasterToSlaveFileCallable<T> extends Object implements FilePath.FileCallable<T>
FilePath.FileCallable
s that are meant to be only used on the master. Note that the logic withinFilePath.FileCallable.invoke(File, VirtualChannel)
should use API of a minimum supported Remoting version. SeeRemotingVersionInfo.getMinimumSupportedVersion()
.- Since:
- 1.587 / 1.580.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MasterToSlaveFileCallable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkRoles(org.jenkinsci.remoting.RoleChecker checker)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.FilePath.FileCallable
invoke
-
-
-
-
Method Detail
-
checkRoles
public void checkRoles(org.jenkinsci.remoting.RoleChecker checker) throws SecurityException
- Specified by:
checkRoles
in interfaceorg.jenkinsci.remoting.RoleSensitive
- Throws:
SecurityException
-
-