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 within FilePath.FileCallable.invoke(File, VirtualChannel)
should use API of a minimum supported Remoting version.
See RemotingVersionInfo.getMinimumSupportedVersion()
.- Since:
- 1.587 / 1.580.1
- See Also:
-
Constructor Details
-
MasterToSlaveFileCallable
public MasterToSlaveFileCallable()
-
-
Method Details
-
checkRoles
- Specified by:
checkRoles
in interfaceorg.jenkinsci.remoting.RoleSensitive
- Throws:
SecurityException
-